Skip to content

Commit

Permalink
Downgrade IntelliJ plugin since latest one requires jvm 17
Browse files Browse the repository at this point in the history
  • Loading branch information
konsoletyper committed Dec 14, 2024
1 parent ec33c47 commit 738cbb5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ version.ref = "shadow"
[plugins]

shadow = { id = "com.gradleup.shadow", version.ref = "shadow" }
intellij = { id = "org.jetbrains.intellij.platform", version = "2.2.0" }
intellij = { id = "org.jetbrains.intellij", version = "1.17.2" }
pluginPublish = { id = "com.gradle.plugin-publish", version = "1.1.0" }
nodejs = { id = "com.github.node-gradle.node", version = "7.1.0" }
22 changes: 10 additions & 12 deletions tools/idea/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,21 @@ plugins {
alias(libs.plugins.intellij)
}

repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
intellij {
version = libs.versions.idea.asProvider().get()
type = "IC"
updateSinceUntilBuild = false

plugins = listOf(
"java",
"org.intellij.scala:${libs.versions.idea.scala.get()}",
"org.jetbrains.kotlin"
)
}

dependencies {
compileOnly(project(":tools:ide-deps"))
runtimeOnly(project(path = ":tools:ide-deps", configuration = "shadow").setTransitive(false))
intellijPlatform {
intellijIdeaCommunity(libs.versions.idea.asProvider())

bundledPlugin("com.intellij.java")
bundledPlugin("org.jetbrains.kotlin")
plugin("org.intellij.scala", libs.versions.idea.scala.get())
}
}

tasks {
Expand Down

0 comments on commit 738cbb5

Please sign in to comment.