Skip to content

Commit 4e86417

Browse files
build.gradle(ktlint): Add ktlint
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
1 parent 252b96e commit 4e86417

2 files changed

Lines changed: 738 additions & 1 deletion

File tree

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ plugins {
2121
id "com.diffplug.spotless" version "7.0.2" apply false
2222
id 'io.gitlab.arturbosch.detekt' version '1.23.8' apply false
2323
id 'com.android.application' version '8.8.2' apply false
24+
id "org.jlleitschuh.gradle.ktlint" version "12.2.0" apply false
2425
}
2526

2627
tasks.register('clean', Delete) {
@@ -46,6 +47,7 @@ tasks.register('installGitHooks', Copy) {
4647

4748

4849
allprojects {
50+
apply plugin: "org.jlleitschuh.gradle.ktlint"
4951
group = 'com.nextcloud.android-common'
5052
}
5153

0 commit comments

Comments
 (0)