Skip to content

Commit 6e6f41a

Browse files
authored
chore: update ktlint to 0.48.2 (#1454)
1 parent 84cc77a commit 6e6f41a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

build.gradle

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,11 @@ configurations {
5757
}
5858

5959
dependencies {
60-
ktlint "com.github.shyiko:ktlint:0.31.0"
60+
ktlint ("com.pinterest:ktlint:0.48.2") {
61+
attributes {
62+
attribute(Bundling.BUNDLING_ATTRIBUTE, getObjects().named(Bundling, Bundling.EXTERNAL))
63+
}
64+
}
6165
}
6266

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

7377
description = "Check Kotlin code style."
7478
classpath = configurations.ktlint
75-
main = "com.github.shyiko.ktlint.Main"
79+
mainClass.set("com.pinterest.ktlint.Main")
7680
args = [
7781
"--format",
7882
"--android",

0 commit comments

Comments
 (0)