mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2026-10-22 21:00:22 +00:00
build: pin JVM toolchains to Java 17
This commit is contained in:
@@ -37,6 +37,8 @@ if ((project.hasProperty('SONATYPE_USER') || System.getenv('SONATYPE_USER') != n
|
||||
}
|
||||
|
||||
allprojects {
|
||||
apply from: rootProject.file("gradle/templates/defaultJavaSettings.gradle")
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
google()
|
||||
|
||||
11
gradle/templates/defaultJavaSettings.gradle
Normal file
11
gradle/templates/defaultJavaSettings.gradle
Normal file
@@ -0,0 +1,11 @@
|
||||
plugins.withId('org.jetbrains.kotlin.multiplatform') {
|
||||
kotlin {
|
||||
jvmToolchain(17)
|
||||
}
|
||||
}
|
||||
|
||||
plugins.withId('org.jetbrains.kotlin.jvm') {
|
||||
kotlin {
|
||||
jvmToolchain(17)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user