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
public void compile() throws Exception {
genver();
final var options = new CompileOptions();
options.verbose(true).jvmOptions().add("--enable-native-access=ALL-UNNAMED");
var options = new CompileOptions().verbose(true).jvmOptions("--enable-native-access=ALL-UNNAMED");
var op = new CompileKotlinOperation()
.fromProject(this)
.compileOptions(options)