mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-09-22 11:54:40 +00:00
Remove intellijPlatform.publishing.channels configuration from build.gradle.kts.
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
- Remove redundant `java` plugin declaration from `build.gradle.kts`
|
||||
- Remove `pluginVersion` configuration from `build.gradle.kts`.
|
||||
- Remove `pluginName` property from `gradle.properties` and `build.gradle.kts` as it is already set in the `plugin.xml`
|
||||
- Remove `intellijPlatform.publishing.channels` configuration from `build.gradle.kts`.
|
||||
|
||||
## [2.4.1] - 2026-03-20
|
||||
|
||||
|
||||
@@ -58,13 +58,6 @@ intellijPlatform {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
publishing {
|
||||
// The pluginVersion is based on the SemVer (https://semver.org) and supports pre-release labels, like 2.1.7-alpha.3
|
||||
// Specify pre-release label to publish the plugin in a custom Release Channel automatically. Read more:
|
||||
// https://plugins.jetbrains.com/docs/intellij/publishing-plugin.html#specifying-a-release-channel
|
||||
channels = providers.gradleProperty("pluginVersion").map { listOf(it.substringAfter('-', "").substringBefore('.').ifEmpty { "default" }) }
|
||||
}
|
||||
}
|
||||
|
||||
// Configure Gradle Changelog Plugin - read more: https://github.com/JetBrains/gradle-changelog-plugin
|
||||
|
||||
Reference in New Issue
Block a user