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
|
||||
public void compile() throws Exception {
|
||||
releaseInfo();
|
||||
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()
|
||||
.kotlinHome("/opt/kotlinc/")
|
||||
.compileOptions(options)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue