Combine Kotlin compile options

This commit is contained in:
Erik C. Thauvin 2025-03-20 20:37:27 -07:00
parent fed1c6aee2
commit bc9e32b4bb
Signed by: erik
GPG key ID: 776702A6A2DA330E

View file

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