Skip to content

Commit fc1ab0a

Browse files
author
Vincent Potucek
committed
activate formatAnnotations()
1 parent febbe2b commit fc1ab0a

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

gradle/spotless.gradle

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
apply plugin: 'com.diffplug.spotless'
2-
tasks.named('spotlessApply') {
3-
dependsOn 'build'
4-
}
52
spotless {
63
def noInternalDepsClosure = {
74
String text = it
@@ -34,3 +31,11 @@ spotless {
3431
greclipse().configFile rootProject.files('gradle/spotless.eclipseformat.xml', 'gradle/spotless.groovyformat.prefs')
3532
}
3633
}
34+
//tasks.named('build') {
35+
// dependsOn 'spotlessApply'
36+
// shouldRunAfter 'spotlessApply'
37+
//}
38+
tasks.named('spotlessCheck') {
39+
dependsOn 'spotlessApply'
40+
mustRunAfter 'spotlessApply'
41+
}

0 commit comments

Comments
 (0)