From f41d841510213453fe49da96a1f5af19ef90e6dd Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 4 Dec 2022 04:47:17 +0600 Subject: Kotlin implementation (to be used as the main language in the future) --- build.gradle | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index 2b207a0..a58bfeb 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,4 @@ buildscript { - repositories { mavenLocal() @@ -10,6 +9,7 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:7.2.0' + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.21" } } @@ -27,6 +27,7 @@ allprojects { typingLabelVersion = '1.3.0' aiVersion = '1.8.2' gdxControllersVersion = '2.2.1' + kotlinVersion = '1.7.21' } repositories { @@ -42,7 +43,7 @@ allprojects { } project(":desktop") { - apply plugin: "java-library" + apply plugin: "kotlin" dependencies { @@ -84,7 +85,7 @@ project(":android") { } project(":core") { - apply plugin: "java-library" + apply plugin: "kotlin" dependencies { @@ -99,5 +100,7 @@ project(":core") { api "com.rafaskoberg.gdx:typing-label:$typingLabelVersion" implementation 'com.google.code.gson:gson:2.9.1' implementation 'ch.qos.logback:logback-classic:1.2.10' + implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion" + implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion" } } -- cgit v1.2.3