File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 11import org.jetbrains.changelog.Changelog
22import org.jetbrains.changelog.markdownToHTML
33import org.jetbrains.intellij.platform.gradle.TestFrameworkType
4+ import org.jetbrains.kotlin.gradle.dsl.JvmDefaultMode
45
56fun properties (key : String ) = providers.gradleProperty(key)
67fun 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.
2324kotlin {
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
You can’t perform that action at this time.
0 commit comments