Skip to content

Commit e76934d

Browse files
committed
Build fix
Signed-off-by: Uladzislau <leksilonchikk@gmail.com>
1 parent 59df16d commit e76934d

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

build.gradle.kts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ dependencies {
117117
intellijIdeaCommunity(descriptor.sdkVersion, useInstaller = false)
118118
jetbrainsRuntime()
119119
instrumentationTools()
120+
pluginVerifier()
120121
testFramework(TestFrameworkType.Plugin.Java)
121122
}
122123
implementation(group = "com.squareup.retrofit2", name = "retrofit", version = retrofit2Vertion)
@@ -150,6 +151,11 @@ intellijPlatform {
150151
untilBuild = descriptor.getUntil()
151152
}
152153
}
154+
pluginVerification {
155+
ides {
156+
recommended()
157+
}
158+
}
153159
}
154160

155161
// Configure Gradle Changelog Plugin - read more: https://github.com/JetBrains/gradle-changelog-plugin
@@ -246,6 +252,13 @@ tasks {
246252
// To run unit tests only and do not trigger "uiTest" task related things (like "compileUiTestKotlin")
247253
onlyIf { !gradle.startParameter.taskNames.contains("uiTest") }
248254

255+
jvmArgs("--add-opens", "java.desktop/java.awt=ALL-UNNAMED")
256+
jvmArgs("--add-opens", "java.desktop/sun.awt=ALL-UNNAMED")
257+
jvmArgs("--add-opens", "java.desktop/java.awt.event=ALL-UNNAMED")
258+
jvmArgs("--add-opens", "java.base/java.lang=ALL-UNNAMED")
259+
jvmArgs("--add-exports", "java.base/jdk.internal.vm=ALL-UNNAMED")
260+
jvmArgs("--add-opens", "java.base/java.nio.file=ALL-UNNAMED")
261+
249262
testLogging {
250263
events("passed", "skipped", "failed")
251264
}

0 commit comments

Comments
 (0)