diff --git a/build.gradle.kts b/build.gradle.kts index 36c3eed..4e6fd8a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -79,7 +79,7 @@ subprojects { dependencies { implementation("$kotlinX:kotlinx-coroutines-core:1.4.0") listOf( - "$kotlinX:kotlinx-datetime:0.2.0", + "$kotlinX:kotlinx-datetime:0.1.1", "com.typesafe:config:1.4.1", "io.github.config4k:config4k:0.4.2" ).forEach { implementation(it); shadowC(it) { isTransitive = false } } @@ -88,12 +88,13 @@ subprojects { } } +val kotlinVer = rootProject.property("kotlin_stdlib_version").toString() + ".0" val mcBase: String = rootProject.architectury.minecraft.dropLast(2) allprojects { apply(plugin = "java") apply(plugin = "architectury-plugin") dependencies { - implementation(kotlin("stdlib-jdk8", rootProject.property("kotlin_stdlib_version").toString() + ".0")) + implementation(kotlin("stdlib-jdk8", kotlinVer)) } java { targetCompatibility = JavaVersion.VERSION_1_8