Skip to content

Commit

Permalink
chore: update ktlint to 0.48.2 (#1454)
Browse files Browse the repository at this point in the history
  • Loading branch information
thatfiredev authored Jan 31, 2023
1 parent 84cc77a commit 6e6f41a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@ configurations {
}

dependencies {
ktlint "com.github.shyiko:ktlint:0.31.0"
ktlint ("com.pinterest:ktlint:0.48.2") {
attributes {
attribute(Bundling.BUNDLING_ATTRIBUTE, getObjects().named(Bundling, Bundling.EXTERNAL))
}
}
}

task("ktlint", type: JavaExec, group: "verification") {
Expand All @@ -72,7 +76,7 @@ task("ktlint", type: JavaExec, group: "verification") {

description = "Check Kotlin code style."
classpath = configurations.ktlint
main = "com.github.shyiko.ktlint.Main"
mainClass.set("com.pinterest.ktlint.Main")
args = [
"--format",
"--android",
Expand Down

0 comments on commit 6e6f41a

Please sign in to comment.