Update java-toolchain sample to use Kotlin DSL

This commit is contained in:
daz committed 2025-03-25 16:14:51 -06:00
1 parent aa88309fbd
commit acd2925667
3 files changed
+14 -9

No files matched your search

@@ -0,0 +1,21 @@
plugins {
java
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(16)
}
}
repositories {
mavenCentral()
}
testing {
suites {
val test by getting(JvmTestSuite::class) {
useJUnit()
}
}
}