Skip to content

Commit

Permalink
Temporarily switch to snapshot version of IntelliJ Gradle plugin
Browse files Browse the repository at this point in the history
Ref. https://youtrack.jetbrains.com/issue/IJPL-177264 being fixed, waiting for release
  • Loading branch information
daniele-athome committed Feb 14, 2025
1 parent cd04b9a commit cf67917
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
5 changes: 0 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ dependencies {
// Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins.
bundledPlugins(providers.gradleProperty("platformBundledPlugins").map { it.split(',') })

// TODO remove after https://youtrack.jetbrains.com/issue/IJPL-177264 has been fixed
if (providers.gradleProperty("platformVersion").get() == "251.20015.29-EAP-SNAPSHOT") {
bundledModule("intellij.yaml.editing")
}

// Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file for plugin from JetBrains Marketplace.
plugins(providers.gradleProperty("platformPlugins").map { it.split(',') })

Expand Down
3 changes: 2 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ kotlinSerialization = "1.8.0"

# plugins
changelog = "2.2.1"
intelliJPlatform = "2.2.1"
# TODO remove snapshot after release
intelliJPlatform = "2.2.2-SNAPSHOT"
kotlin = "1.9.25"
kover = "0.8.3"
qodana = "2024.2.3"
Expand Down
8 changes: 8 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
rootProject.name = "Home Assistant IntelliJ Plugin"

// TODO remove after IntelliJ Gradle Plugin 2.2.2 has been released
pluginManagement {
repositories {
maven("https://oss.sonatype.org/content/repositories/snapshots/")
gradlePluginPortal()
}
}

plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}

0 comments on commit cf67917

Please sign in to comment.