File tree Expand file tree Collapse file tree 5 files changed +19
-2
lines changed Expand file tree Collapse file tree 5 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ buildscript {
15
15
huaweiHMSLocationVersion = ' 4.0.0.300'
16
16
kotlinVersion = ' 1.7.10'
17
17
kotestVersion = ' 5.5.0'
18
- ktlintVersion = ' 11.0.0'
18
+ ktlintPluginVersion = ' 11.3.1'
19
+ ktlintVersion = ' 0.48.2'
19
20
detektVersion = ' 1.21.0'
20
21
junitVersion = ' 4.13.2'
21
22
}
@@ -32,7 +33,7 @@ buildscript {
32
33
classpath " com.google.gms:google-services:$googleServicesGradlePluginVersion "
33
34
classpath " com.huawei.agconnect:agcp:$huaweiAgconnectVersion "
34
35
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion "
35
- classpath " org.jlleitschuh.gradle:ktlint-gradle:$k tlintVersion "
36
+ classpath " org.jlleitschuh.gradle:ktlint-gradle:$k tlintPluginVersion "
36
37
classpath " io.gitlab.arturbosch.detekt:detekt-gradle-plugin:$detektVersion "
37
38
}
38
39
}
Original file line number Diff line number Diff line change @@ -90,4 +90,8 @@ dependencies {
90
90
testImplementation(" org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion " )
91
91
}
92
92
93
+ ktlint {
94
+ version = " $ktlintVersion "
95
+ }
96
+
93
97
apply from : ' ../maven-push.gradle'
Original file line number Diff line number Diff line change @@ -90,4 +90,8 @@ dependencies {
90
90
testImplementation(" org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion " )
91
91
}
92
92
93
+ ktlint {
94
+ version = " $ktlintVersion "
95
+ }
96
+
93
97
apply from : ' ../maven-push.gradle'
Original file line number Diff line number Diff line change @@ -90,4 +90,8 @@ dependencies {
90
90
testImplementation(" com.google.android.gms:play-services-location:18.0.0" )
91
91
}
92
92
93
+ ktlint {
94
+ version = " $ktlintVersion "
95
+ }
96
+
93
97
apply from : ' ../maven-push.gradle'
Original file line number Diff line number Diff line change @@ -111,4 +111,8 @@ dependencies {
111
111
testImplementation(" org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion " )
112
112
}
113
113
114
+ ktlint {
115
+ version = " $ktlintVersion "
116
+ }
117
+
114
118
apply from : ' ../maven-push.gradle'
You can’t perform that action at this time.
0 commit comments