Combine Kotlin compile options
This commit is contained in:
parent
8537c8a436
commit
5f1eb63c4f
1 changed files with 1 additions and 2 deletions
|
@ -154,8 +154,7 @@ public class MobibotBuild extends Project {
|
||||||
@Override
|
@Override
|
||||||
public void compile() throws Exception {
|
public void compile() throws Exception {
|
||||||
releaseInfo();
|
releaseInfo();
|
||||||
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()
|
||||||
.kotlinHome("/opt/kotlinc/")
|
.kotlinHome("/opt/kotlinc/")
|
||||||
.compileOptions(options)
|
.compileOptions(options)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue