File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -19,3 +19,8 @@ assertjVersion=3.21.0
1919mockitoVersion =4.0.0
2020mockkVersion =1.12.1
2121classgraphVersion =4.8.137
22+
23+ detektVersion =1.19.0
24+ ktlintVersion =0.43.0
25+ jcommanderVersion =1.81
26+ commonsTextVersion =1.9
Original file line number Diff line number Diff line change @@ -4,8 +4,10 @@ plugins {
44 kotlin(" jvm" )
55}
66
7- val detektVersion = " 1.19.0"
8- val ktlintVersion = " 0.43.0"
7+ val detektVersion: String by project
8+ val ktlintVersion: String by project
9+ val jcommanderVersion: String by project
10+ val commonsTextVersion: String by project
911
1012dependencies {
1113 implementation(" io.gitlab.arturbosch.detekt" , " detekt-cli" , detektVersion)
@@ -18,9 +20,9 @@ dependencies {
1820
1921 implementation(kotlin(" stdlib-jdk8" ))
2022
21- implementation(" com.google.code.gson:gson:2.8.7 " )
22- implementation(" com.beust:jcommander:1.81 " )
23- implementation(" org.apache.commons:commons-text:1.9 " )
23+ implementation(" com.google.code.gson:gson" )
24+ implementation(" com.beust:jcommander:$jcommanderVersion " )
25+ implementation(" org.apache.commons:commons-text:$commonsTextVersion " )
2426 implementation(project(" :sonar-kotlin-plugin" ))
2527
2628 testImplementation(" org.junit.jupiter:junit-jupiter-api" )
You can’t perform that action at this time.
0 commit comments