diff --git a/build-logic/convention/src/main/kotlin/dev/sergiobelda/compose/vectorize/buildlogic/convention/SpotlessConventionPlugin.kt b/build-logic/convention/src/main/kotlin/dev/sergiobelda/compose/vectorize/buildlogic/convention/SpotlessConventionPlugin.kt index 0aec7fa..885b667 100644 --- a/build-logic/convention/src/main/kotlin/dev/sergiobelda/compose/vectorize/buildlogic/convention/SpotlessConventionPlugin.kt +++ b/build-logic/convention/src/main/kotlin/dev/sergiobelda/compose/vectorize/buildlogic/convention/SpotlessConventionPlugin.kt @@ -35,7 +35,7 @@ class SpotlessConventionPlugin : Plugin { kotlin { target("**/*.kt") targetExclude("**/build/**/*.kt") - ktlint(ktlintVersion).userData(mapOf("android" to "true")) + ktlint(ktlintVersion) licenseHeader(licenseHeaderKotlin) } format("kts") { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 4a886c6..d95504a 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -13,7 +13,7 @@ gradlePublishGradlePlugin = "1.2.1" kotlin = "1.9.20" kotlinpoet = "1.16.0" ktlint = "0.50.0" -spotless = "6.22.0" +spotless = "6.24.0" vanniktechMavenPublishPlugin = "0.27.0" [libraries]