Downgrade kotlinx-datetime

This commit is contained in:
Username404-59 2021-05-03 14:34:49 +02:00
parent 8a03391c38
commit aaa2366164
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 3 additions and 2 deletions

View File

@ -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