Skip to content

Commit

Permalink
Update dependency com.pinterest.ktlint:ktlint-cli to v1.3.0 (#332)
Browse files Browse the repository at this point in the history
* Update dependency com.pinterest.ktlint:ktlint-cli to v1.3.0

* Disable expression body rule

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <jw@squareup.com>
  • Loading branch information
renovate[bot] and JakeWharton authored Jun 7, 2024
1 parent a46e07c commit 138b085
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ spotless {
targetExclude("**/src/test/test-build-logic/build/**")
ktlint(libs.ktlint.get().version).editorConfigOverride([
'ktlint_standard_filename': 'disabled',
// Making something an expression body should be a choice around readability.
'ktlint_standard_function-expression-body': 'disabled',
])
licenseHeaderFile(rootProject.file('gradle/license-header.txt'))
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ maven-modelBuilder = "org.apache.maven:maven-model-builder:3.9.7"

androidx-gradlePluginLints = "androidx.lint:lint-gradle:1.0.0-alpha01"
# Dummy to get renovate updates, the version is used in rootProject build.gradle with spotless.
ktlint = "com.pinterest.ktlint:ktlint-cli:1.2.1"
ktlint = "com.pinterest.ktlint:ktlint-cli:1.3.0"

[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
Expand Down

0 comments on commit 138b085

Please sign in to comment.