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