diff --git a/build.gradle.kts b/build.gradle.kts index d4d1a950..d4c1aaa0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -123,6 +123,6 @@ tasks { // 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/deployment.html#specifying-a-release-channel - channels = properties("pluginVersion").map { listOf(it.split('-').getOrElse(1) { "default" }.split('.').first()) } + channels = properties("pluginVersion").map { listOf(it.split('-').getOrElse(1) { "default" }.split('.')[0]) } } } \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index a436f48d..f5baa649 100644 --- a/gradle.properties +++ b/gradle.properties @@ -31,6 +31,3 @@ org.gradle.unsafe.configuration-cache=true # Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html org.gradle.caching=true - -# Enable Gradle Kotlin DSL Lazy Property Assignment -> https://docs.gradle.org/current/userguide/kotlin_dsl.html#kotdsl:assignment -systemProp.org.gradle.unsafe.kotlin.assignment=true