Add a kotlin_stdlib_version property to gradle.properties
This commit is contained in:
parent
ea2c5c458b
commit
8a03391c38
|
@ -93,7 +93,7 @@ allprojects {
|
|||
apply(plugin = "java")
|
||||
apply(plugin = "architectury-plugin")
|
||||
dependencies {
|
||||
implementation(kotlin("stdlib-jdk8", "1.4.30"))
|
||||
implementation(kotlin("stdlib-jdk8", rootProject.property("kotlin_stdlib_version").toString() + ".0"))
|
||||
}
|
||||
java {
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
|
@ -119,7 +119,7 @@ allprojects {
|
|||
freeCompilerArgs = listOf("-Xjvm-default=all", "-Xlambdas=indy")
|
||||
jvmTarget = "1.8"
|
||||
languageVersion = "1.5"
|
||||
apiVersion = "1.4"
|
||||
apiVersion = rootProject.property("kotlin_stdlib_version").toString()
|
||||
}
|
||||
}
|
||||
withType(JavaCompile::class) {
|
||||
|
|
|
@ -9,6 +9,7 @@ org.gradle.vfs.watch=true
|
|||
|
||||
minecraft=1.16.5
|
||||
forge_version=36.1
|
||||
kotlin_stdlib_version=1.4
|
||||
fabric_loader_version=0.11.3
|
||||
fabric_resource_loader_version=0.2.5+059ea8667c
|
||||
fabric_rendering_api_version=1.1.2+346247d77c
|
||||
|
|
Loading…
Reference in New Issue