diff --git a/build.gradle.kts b/build.gradle.kts index 45c243b91fef..0b7106672cd7 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -15,7 +15,7 @@ plugins { alias(libs.plugins.kotlin.parcelize) apply false alias(libs.plugins.kotlin.jvm) apply false alias(libs.plugins.kotlin.serialization) apply false - alias(libs.plugins.ktlint) apply false + alias(libs.plugins.ktlint.gradle.plugin) apply false alias(libs.plugins.dokka) apply false alias(libs.plugins.keeper) apply false } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index b424e02d93ce..2548e7fb04a6 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -81,7 +81,7 @@ junitPlatformLauncher = "1.11.3" # https://github.com/JetBrains/kotlin/releases/ kotlin = '2.1.0' kotlinxSerializationJson = "1.7.3" -ktlint = "12.1.1" +ktlintGradlePlugin = "12.1.1" leakcanaryAndroid = "2.14" lint = '31.7.2' material = "1.12.0" @@ -210,7 +210,7 @@ kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", versi dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" } -ktlint = { id = "org.jlleitschuh.gradle.ktlint", version.ref = "ktlint" } +ktlint-gradle-plugin = { id = "org.jlleitschuh.gradle.ktlint", version.ref = "ktlintGradlePlugin" } keeper = { id = "com.slack.keeper", version.ref = "slackKeeper" }