Skip to content

Commit

Permalink
1.17.4
Browse files Browse the repository at this point in the history
  • Loading branch information
hsz committed Jun 14, 2024
1 parent 47e2de8 commit 73c06eb
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## [next]

### Added

- Message about required migration to IntelliJ Platform Gradle Plugin 2.0 when targeting IntelliJ Platform 2024.2+ (242+).

## [1.17.3] - 2024-03-29

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version=1.17.3
snapshotVersion=1.17.4
version=1.17.4
snapshotVersion=1.17.5
snapshot=false
group=org.jetbrains.intellij.plugins
artifactId=gradle-intellij-plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,23 @@ abstract class VerifyPluginConfigurationTask @Inject constructor(
val oldPluginVerifierDownloadPath = providers.systemProperty("user.home").map { "$it/.pluginVerifier/ides" }.get().let(Path::of).toAbsolutePath()

sequence {
if (platformBuildVersion.major >= 242) {
logger.error(
"""
⚠️⚠️⚠️⚠️⚠️
Gradle IntelliJ Plugin 1.x does not support building plugins against the IntelliJ Platform 2024.2+ (242+).
Please upgrade your configuration to use the IntelliJ Platform Gradle Plugin 2.0.0 or higher!
See: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin.html
⚠️⚠️⚠️⚠️⚠️
""".trimIndent()
)
}

pluginXmlFiles.get()
.mapNotNull { parsePluginXml(it.toPath(), context) }
.forEach { plugin ->
Expand Down

0 comments on commit 73c06eb

Please sign in to comment.