Skip to content

Commit 5cb0434

Browse files
committed
Fix rider latest build
1 parent 7c70449 commit 5cb0434

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

components/ide/jetbrains/backend-plugin/build.gradle-latest.kts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ plugins {
1212
// Java support
1313
id("java")
1414
// Kotlin support - check the latest version at https://plugins.gradle.org/plugin/org.jetbrains.kotlin.jvm
15-
id("org.jetbrains.kotlin.jvm") version "2.0.0"
15+
id("org.jetbrains.kotlin.jvm") version "2.2.0-RC"
1616
// gradle-intellij-plugin - read more: https://github.com/JetBrains/gradle-intellij-plugin
17-
id("org.jetbrains.intellij.platform") version "2.0.0-beta8"
17+
id("org.jetbrains.intellij.platform") version "2.6.0"
1818
// id("org.jetbrains.intellij.platform.migration") version "2.0.0-beta7"
1919
// detekt linter - read more: https://detekt.github.io/detekt/gradle.html
2020
id("io.gitlab.arturbosch.detekt") version "1.23.6"
@@ -158,7 +158,9 @@ tasks {
158158
targetCompatibility = "21"
159159
}
160160
withType<KotlinCompile> {
161-
kotlinOptions.jvmTarget = "21"
161+
compilerOptions {
162+
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_21)
163+
}
162164
}
163165

164166
buildSearchableOptions {
@@ -175,8 +177,8 @@ tasks {
175177

176178
tasks.register("runPluginVerifier") {
177179
if (properties("platformType") == "RD") {
178-
intellijPlatform.verifyPlugin.ides.ide(IntelliJPlatformType.Rider, properties("pluginVerifierIdeVersions"))
180+
intellijPlatform.pluginVerification.ides.ide(IntelliJPlatformType.Rider, properties("pluginVerifierIdeVersions"))
179181
} else {
180-
intellijPlatform.verifyPlugin.ides.ide(IntelliJPlatformType.IntellijIdeaUltimate, properties("pluginVerifierIdeVersions"))
182+
intellijPlatform.pluginVerification.ides.ide(IntelliJPlatformType.IntellijIdeaUltimate, properties("pluginVerifierIdeVersions"))
181183
}
182184
}

0 commit comments

Comments
 (0)