Cleanup compile command

This commit is contained in:
Erik C. Thauvin 2025-03-26 12:02:45 -07:00
parent 0ea3fd0520
commit 1e5f088639
Signed by: erik
GPG key ID: 776702A6A2DA330E

View file

@ -35,10 +35,9 @@ public class ExampleBuild extends BaseProject {
@Override @Override
public void compile() throws Exception { public void compile() throws Exception {
var options = new CompileOptions().jvmOptions("--enable-native-access=ALL-UNNAMED");
new CompileKotlinOperation() new CompileKotlinOperation()
.fromProject(this) .fromProject(this)
.compileOptions(options) .compileOptions(new CompileOptions().verbose(true))
.execute(); .execute();
// Also compile the Java source code // Also compile the Java source code