@@ -29,17 +29,17 @@ plugins {
29
29
// Java support
30
30
id(" java" )
31
31
// Kotlin support
32
- id(" org.jetbrains.kotlin.jvm" ) version " 1.6.10 "
32
+ id(" org.jetbrains.kotlin.jvm" ) version " 1.7.0-Beta "
33
33
// gradle-intellij-plugin - read more: https://github.com/JetBrains/gradle-intellij-plugin
34
- id(" org.jetbrains.intellij" ) version " 1.4.0 "
34
+ id(" org.jetbrains.intellij" ) version " 1.6.0-SNAPSHOT "
35
35
// gradle-changelog-plugin - read more: https://github.com/JetBrains/gradle-changelog-plugin
36
36
id(" org.jetbrains.changelog" ) version " 1.3.1"
37
37
// Gradle Qodana Plugin
38
38
id(" org.jetbrains.qodana" ) version " 0.1.13"
39
39
// detekt linter - read more: https://detekt.github.io/detekt/gradle.html
40
- id(" io.gitlab.arturbosch.detekt" ) version " 1.19 .0"
40
+ id(" io.gitlab.arturbosch.detekt" ) version " 1.20 .0"
41
41
// ktlint linter - read more: https://github.com/JLLeitschuh/ktlint-gradle
42
- id(" org.jlleitschuh.gradle.ktlint" ) version " 10.2 .0"
42
+ id(" org.jlleitschuh.gradle.ktlint" ) version " 10.3 .0"
43
43
}
44
44
45
45
group = properties(" pluginGroup" )
@@ -55,10 +55,10 @@ repositories {
55
55
}
56
56
57
57
dependencies {
58
- detektPlugins(" io.gitlab.arturbosch.detekt:detekt-formatting:1.19 .0" )
58
+ detektPlugins(" io.gitlab.arturbosch.detekt:detekt-formatting:1.20 .0" )
59
59
implementation(" com.jgoodies:jgoodies-forms:1.9.0" )
60
60
implementation(" com.thoughtworks.xstream:xstream:1.4.19" )
61
- implementation(" org.javassist:javassist:3.28 .0-GA" )
61
+ implementation(" org.javassist:javassist:3.29 .0-GA" )
62
62
implementation(" com.mixpanel:mixpanel-java:1.5.0" )
63
63
}
64
64
@@ -97,13 +97,6 @@ detekt {
97
97
autoCorrect = true
98
98
}
99
99
100
- // Configure Gradle Qodana Plugin - read more: https://github.com/JetBrains/gradle-qodana-plugin
101
- qodana {
102
- cachePath.set(projectDir.resolve(" .qodana" ).canonicalPath)
103
- reportPath.set(projectDir.resolve(" build/reports/inspections" ).canonicalPath)
104
- saveReport.set(true )
105
- showReport.set(System .getenv(" QODANA_SHOW_REPORT" )?.toBoolean() ? : false )
106
- }
107
100
108
101
tasks {
109
102
properties(" javaVersion" ).let {
@@ -177,7 +170,7 @@ tasks {
177
170
178
171
publishPlugin {
179
172
// dependsOn("patchChangelog")
180
- token.set(System .getenv(" INTELLIJ_PUBLISH_TOKEN" ) ? : file(" ./publishToken" ).readText())
173
+ token.set(System .getenv(" INTELLIJ_PUBLISH_TOKEN" ) ? : file(" ./publishToken" ).readText().trim() )
181
174
channels.set(listOf (properties(" pluginVersion" ).split(' -' ).getOrElse(1 ) { " default" }.split(' .' ).first()))
182
175
}
183
176
}
0 commit comments