Combine Kotlin compile options
This commit is contained in:
parent
fed1c6aee2
commit
bc9e32b4bb
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue