2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-02 03:40:16 +00:00

[fenix] Update ktlint.

This commit is contained in:
Sebastian Kaspari 2021-07-29 17:37:31 +02:00 committed by mergify[bot]
parent bc41dd0b52
commit fd60cf2ec4

View File

@ -176,7 +176,12 @@ configurations {
}
dependencies {
ktlint "com.pinterest:ktlint:0.34.2"
ktlint("com.pinterest:ktlint:0.41.0") {
attributes {
attribute(Bundling.BUNDLING_ATTRIBUTE, getObjects().named(Bundling, Bundling.EXTERNAL))
}
}
detekt project(":mozilla-detekt-rules")
detekt "io.gitlab.arturbosch.detekt:detekt-cli:${Versions.detekt}"
}
@ -186,7 +191,7 @@ tasks.register('ktlint', JavaExec) {
description = "Check Kotlin code style."
classpath = configurations.ktlint
main = "com.pinterest.ktlint.Main"
args "app/src/**/*.kt"
args "app/src/**/*.kt", "!**/build/**/*.kt"
}
tasks.withType(io.gitlab.arturbosch.detekt.Detekt.class).configureEach {