Combine Kotlin compile options
This commit is contained in:
parent
7357756667
commit
f6a1e7bc3d
1 changed files with 1 additions and 2 deletions
|
@ -127,8 +127,7 @@ public class BitlyShortenBuild extends Project {
|
|||
@BuildCommand(summary = "Compiles the Kotlin project")
|
||||
@Override
|
||||
public void compile() throws Exception {
|
||||
final var options = new CompileOptions();
|
||||
options.jvmOptions().add("--enable-native-access=ALL-UNNAMED");
|
||||
var options = new CompileOptions().jvmOptions("--enable-native-access=ALL-UNNAMED");
|
||||
new CompileKotlinOperation()
|
||||
.fromProject(this)
|
||||
.compileOptions(options)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue