Add Kotlin compile options for JDK 24

This commit is contained in:
Erik C. Thauvin 2025-03-20 09:50:06 -07:00
parent 364584e4c3
commit fed1c6aee2
Signed by: erik
GPG key ID: 776702A6A2DA330E

View file

@ -140,8 +140,7 @@ public class AkismetBuild extends Project {
public void compile() throws Exception {
genver();
final var options = new CompileOptions();
options.jvmOptions().add("--enable-native-access=ALL-UNNAMED");
options.verbose(true);
options.verbose(true).jvmOptions().add("--enable-native-access=ALL-UNNAMED");
var op = new CompileKotlinOperation()
.fromProject(this)
.compileOptions(options)