20 lines
482 B
Kotlin
20 lines
482 B
Kotlin
plugins {
|
|
kotlin("jvm") version "2.4.10" apply false
|
|
}
|
|
|
|
ext {
|
|
set("kotlinVersion", "2.4.10")
|
|
set("onnxVersion", "1.16.0")
|
|
}
|
|
|
|
allprojects {
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
|
|
compilerOptions {
|
|
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)
|
|
}
|
|
}
|
|
tasks.withType<JavaCompile>().configureEach {
|
|
sourceCompatibility = "17"
|
|
targetCompatibility = "17"
|
|
}
|
|
} |