Skip to content

Commit

Permalink
Update ktlint to 1.0.0 (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulWoitaschek authored Sep 12, 2023
1 parent cf81c4c commit e6a61d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
kotlin = "1.9.10"
jupiter = "5.10.0"
ktlint = "0.50.0"
ktlint = "1.0.0"
java = "11"

[libraries]
Expand All @@ -13,6 +13,8 @@ ktlint-rule-engine-core = { module = "com.pinterest.ktlint:ktlint-rule-engine-co
ktlint-cli-ruleset-core = { module = "com.pinterest.ktlint:ktlint-cli-ruleset-core", version.ref = "ktlint" }
ktlint-test = { module = "com.pinterest.ktlint:ktlint-test", version.ref = "ktlint" }

slf4j = "org.slf4j:slf4j-simple:2.0.9"

[plugins]
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
ktlint = { id = "org.jlleitschuh.gradle.ktlint", version = "11.5.1" }
1 change: 1 addition & 0 deletions rules/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies {
implementation(libs.ktlint.rule.engine.core)
implementation(libs.ktlint.cli.ruleset.core)
testImplementation(libs.ktlint.test)
testImplementation(libs.slf4j)
testImplementation(libs.junit.jupiter.api)
testImplementation(libs.junit.jupiter.params)
testRuntimeOnly(libs.junit.jupiter.engine)
Expand Down

0 comments on commit e6a61d7

Please sign in to comment.