Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Commit

Permalink
Proper --add-opens on runJvm (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
soywiz authored Mar 21, 2022
1 parent 42ced9a commit 8f2e59c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,9 @@ samples {
val runJvm by creating(KorgeJavaExec::class) {
group = "run"
mainClass.set("MainKt")
if (!beforeJava9) jvmArgs("--add-opens=java.desktop/sun.java2d.opengl=ALL-UNNAMED")
if (!beforeJava9) {
javaAddOpens.forEach { jvmArgs(it) }
}
}
val runJs by creating {
group = "run"
Expand Down

0 comments on commit 8f2e59c

Please sign in to comment.