diff --git a/build.gradle b/build.gradle index c4924f6b..c24d1fd5 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,9 @@ subprojects { spotless { kotlin { target "**/*.kt" - ktlint(libs.versions.ktlint.get()) + // ktlint(libs.versions.ktlint.get()) + ktlint("0.50.0") + licenseHeaderFile rootProject.file('spotless/copyright.txt') } groovyGradle { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 22c58873..d79ae4fa 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,6 +1,6 @@ [versions] kotlin = "1.9.10" -ktlint = "0.50.0" +ktlint = "1.0.0" detekt = "1.23.1" junit = "5.10.0"