Add Kotlin compile options for JDK 24
This commit is contained in:
parent
28b8b05cca
commit
364584e4c3
1 changed files with 1 additions and 1 deletions
|
@ -141,11 +141,11 @@ public class AkismetBuild extends Project {
|
||||||
genver();
|
genver();
|
||||||
final var options = new CompileOptions();
|
final var options = new CompileOptions();
|
||||||
options.jvmOptions().add("--enable-native-access=ALL-UNNAMED");
|
options.jvmOptions().add("--enable-native-access=ALL-UNNAMED");
|
||||||
|
options.verbose(true);
|
||||||
var op = new CompileKotlinOperation()
|
var op = new CompileKotlinOperation()
|
||||||
.fromProject(this)
|
.fromProject(this)
|
||||||
.compileOptions(options)
|
.compileOptions(options)
|
||||||
.plugins(CompilerPlugin.KOTLIN_SERIALIZATION);
|
.plugins(CompilerPlugin.KOTLIN_SERIALIZATION);
|
||||||
op.compileOptions().verbose(true);
|
|
||||||
op.execute();
|
op.execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue