File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,23 +14,22 @@ plugins {
14
14
alias(libs.plugins.spotless) apply false
15
15
}
16
16
17
- val ktlintVersion = " 1.5.0"
18
17
19
18
subprojects {
20
19
apply (plugin = " com.diffplug.spotless" )
21
20
extensions.configure< com.diffplug.gradle.spotless.SpotlessExtension > {
22
21
kotlin {
23
22
target(" **/*.kt" )
24
23
targetExclude(" **/build/**/*.kt" )
25
- ktlint(ktlintVersion ).editorConfigOverride(
24
+ ktlint(libs.versions.ktlint.get() ).editorConfigOverride(
26
25
mapOf (
27
26
" android" to " true" ,
28
27
" ktlint_standard_property-naming" to " disabled"
29
28
),
30
29
)
31
30
licenseHeaderFile(rootProject.file(" spotless/copyright.kt" ))
32
31
}
33
- format( " kts " ) {
32
+ kotlinGradle {
34
33
target(" **/*.kts" )
35
34
targetExclude(" **/build/**/*.kts" )
36
35
// Look for the first line that doesn't have a block comment (assumed to be the license)
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ ksp = "2.1.20-1.0.32"
38
38
kotlinxCoroutines = " 1.10.2"
39
39
kotlinxSerialization = " 2.1.20"
40
40
kotlinxSerializationJson = " 1.8.1"
41
+ ktlint = " 1.5.0"
41
42
lifecycleRuntimeKtx = " 2.8.7"
42
43
lifecycleViewmodelNavigation3 = " 1.0.0-SNAPSHOT"
43
44
loggingInterceptor = " 5.0.0-alpha.14"
You can’t perform that action at this time.
0 commit comments