Minor fixes reported by the code inspection

This commit is contained in:
Jakub Chrzanowski
2023-01-13 21:34:46 +01:00
committed by Jakub Chrzanowski
parent 54d6b64304
commit b99218fb83
7 changed files with 12 additions and 12 deletions

View File

@@ -26,7 +26,7 @@ repositories {
mavenCentral()
}
// Set the JVM language level used to build project. Use Java 11 for 2020.3+, and Java 17 for 2022.2+.
// Set the JVM language level used to build the project. Use Java 11 for 2020.3+, and Java 17 for 2022.2+.
kotlin {
jvmToolchain(11)
}
@@ -113,7 +113,7 @@ tasks {
publishPlugin {
dependsOn("patchChangelog")
token.set(System.getenv("PUBLISH_TOKEN"))
// pluginVersion is based on the SemVer (https://semver.org) and supports pre-release labels, like 2.1.7-alpha.3
// 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.set(listOf(properties("pluginVersion").split('-').getOrElse(1) { "default" }.split('.').first()))