summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2022-12-04 04:47:17 +0600
committerilotterytea <iltsu@alright.party>2022-12-04 04:47:17 +0600
commitf41d841510213453fe49da96a1f5af19ef90e6dd (patch)
tree1e7bb8714e7762daf1129094b79fd429299baac0 /build.gradle
parent932eaebdb739dd071b3bb36ff8ea882a6d4c3f88 (diff)
Kotlin implementation (to be used as the main language in the future)
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle9
1 files changed, 6 insertions, 3 deletions
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"
}
}