26 lines
598 B
Kotlin
26 lines
598 B
Kotlin
plugins {
|
|
java
|
|
id("org.springframework.boot") version "3.2.0" apply false
|
|
id("io.spring.dependency-management") version "1.1.4" apply false
|
|
}
|
|
|
|
allprojects {
|
|
group = "com.zeenea.experiments.virtualthreads"
|
|
version = "0.0.1-SNAPSHOT"
|
|
|
|
tasks.withType<JavaCompile> {
|
|
options.compilerArgs.add("--release")
|
|
options.compilerArgs.add("21")
|
|
// options.compilerArgs.add("--enable-preview")
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
// java {
|
|
// toolchain {
|
|
// languageVersion = JavaLanguageVersion.of(21)
|
|
// }
|
|
// }
|
|
} |