File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments