Skip to content

Commit 62759ef

Browse files
committed
fix: do not generate bridge methods to avoid unknown usage of internal classes
1 parent 4f72213 commit 62759ef

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

build.gradle.kts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import org.jetbrains.changelog.Changelog
22
import org.jetbrains.changelog.markdownToHTML
33
import org.jetbrains.intellij.platform.gradle.TestFrameworkType
4+
import org.jetbrains.kotlin.gradle.dsl.JvmDefaultMode
45

56
fun properties(key: String) = providers.gradleProperty(key)
67
fun environment(key: String) = providers.environmentVariable(key)
@@ -22,6 +23,9 @@ version = properties("pluginVersion").get()
2223
// Set the JVM language level used to build the project.
2324
kotlin {
2425
jvmToolchain(21)
26+
compilerOptions {
27+
jvmDefault.set(JvmDefaultMode.NO_COMPATIBILITY)
28+
}
2529
}
2630

2731
// Configure project's dependencies
@@ -43,7 +47,8 @@ dependencies {
4347
// IntelliJ Platform Gradle Plugin Dependencies Extension - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html
4448
intellijPlatform {
4549
// Comment this if you want to run webstorm. But at the same time webstorm fails to run tests.
46-
intellijIdea(properties("platformVersion"))
50+
// intellijIdea(properties("platformVersion"))
51+
webstorm("2024.2")
4752
// Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins.
4853
bundledPlugins(properties("platformBundledPlugins").map { it.split(',') })
4954

0 commit comments

Comments
 (0)