Skip to content

Commit

Permalink
Bump Ktlint Gradle Plugin & Ktlint to 12.1.1 & 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mars885 committed Aug 10, 2024
1 parent 2678868 commit 36333a3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,11 @@ max_line_length = 120
indent_size = 2

[*.{kt,kts}]
disabled_rules=filename,import-ordering
ktlint_standard_annotation = disabled
ktlint_standard_no-empty-first-line-in-class-body = disabled
ktlint_standard_blank-line-before-declaration = disabled
ktlint_standard_multiline-expression-wrapping = disabled
ktlint_standard_string-template-indent = disabled
ktlint_standard_spacing-between-declarations-with-annotations = disabled
ktlint_standard_function-signature = disabled
ktlint_standard_class-signature = disabled
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ allprojects {
version.set(versions.ktlint)
android.set(true)
outputToConsole.set(true)
verbose.set(true)

filter {
// https://github.com/JLLeitschuh/ktlint-gradle/issues/266#issuecomment-529527697
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/java/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ object versions {
const val kspPlugin = "2.0.0-1.0.24"
const val daggerHilt = "2.51.1"
const val detektPlugin = "1.23.6"
const val ktlintPlugin = "10.3.0"
const val ktlint = "0.45.2"
const val ktlintPlugin = "12.1.1"
const val ktlint = "1.3.1"
const val coroutines = "1.8.1"
const val room = "2.6.1"
}
Expand Down

0 comments on commit 36333a3

Please sign in to comment.