diff --git a/game/build.gradle.kts b/game/build.gradle.kts index 1482a21..471a01f 100644 --- a/game/build.gradle.kts +++ b/game/build.gradle.kts @@ -2,6 +2,7 @@ import org.jetbrains.kotlin.gradle.plugin.KotlinJsCompilerType import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType repositories { + mavenCentral() maven(url = "https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven") } @@ -11,7 +12,7 @@ plugins { } kotlin { - android() + androidTarget() jvm { compilations { val main by getting @@ -110,6 +111,10 @@ android { minSdk = (findProperty("android.minSdk") as String).toInt() targetSdk = (findProperty("android.targetSdk") as String).toInt() } + compileOptions { + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 + } } rootProject.extensions.configure { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 59f2edf..2c06377 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,11 +1,11 @@ [versions] -plugin-android = "7.2.2" +plugin-android = "7.3.1" plugin-kotlin = "1.8.10" -kotlinx-html = "0.7.2" -kotlinx-coroutines = "1.6.4" +kotlinx-html = "0.9.1" +kotlinx-coroutines = "1.7.3" -littlekt = "0.6.3" +littlekt = "0.8.0" [libraries] plugin-android = { module = "com.android.tools.build:gradle", version.ref = "plugin-android" } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 41dfb87..db9a6b8 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists