diff --git a/example/build.gradle.kts b/example/build.gradle.kts index 9cc8c90b..6e6fa578 100644 --- a/example/build.gradle.kts +++ b/example/build.gradle.kts @@ -14,7 +14,7 @@ repositories { } kotlin { - jvmToolchain(20) + jvmToolchain(21) jvm { withJava() } @@ -59,4 +59,8 @@ tasks { withType { options.compilerArgs.add("--enable-preview") } + + withType { + args!!.add("--enable-preview") + } } diff --git a/example/src/jvmMain/resources/simplelogger.properties b/example/src/jvmMain/resources/simplelogger.properties new file mode 100644 index 00000000..d3ff6b49 --- /dev/null +++ b/example/src/jvmMain/resources/simplelogger.properties @@ -0,0 +1,2 @@ +org.slf4j.simpleLogger.defaultLogLevel=trace +org.slf4j.simpleLogger.showDateTime=true