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();
|
||||
final var options = new CompileOptions();
|
||||
options.jvmOptions().add("--enable-native-access=ALL-UNNAMED");
|
||||
options.verbose(true);
|
||||
var op = new CompileKotlinOperation()
|
||||
.fromProject(this)
|
||||
.compileOptions(options)
|
||||
.plugins(CompilerPlugin.KOTLIN_SERIALIZATION);
|
||||
op.compileOptions().verbose(true);
|
||||
op.execute();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue