Skip to content

Commit

Permalink
Add required jvmArgs to runIde for local development testing
Browse files Browse the repository at this point in the history
  • Loading branch information
nrayburn-tech committed Aug 20, 2024
1 parent b3c7c11 commit 31d4c58
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions idea_plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,17 @@ tasks {
token.set(jetbrainsPluginRepoToken)
}

runIde.configure {
jvmArgs(
"--add-exports", "jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
"--add-exports", "jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED",
"--add-exports", "jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED",
"--add-exports", "jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED",
"--add-exports", "jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED",
"--add-exports", "jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED",
)
}

withType<Test>().configureEach {
jvmArgs(
"--add-exports", "jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
Expand Down

0 comments on commit 31d4c58

Please sign in to comment.