build: pin JVM toolchains to Java 17

This commit is contained in:
2026-10-23 01:37:07 +06:00
parent 29578863ef
commit e412568900
2 changed files with 13 additions and 0 deletions

View File

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

View File

@@ -0,0 +1,11 @@
plugins.withId('org.jetbrains.kotlin.multiplatform') {
kotlin {
jvmToolchain(17)
}
}
plugins.withId('org.jetbrains.kotlin.jvm') {
kotlin {
jvmToolchain(17)
}
}