We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent febbe2b commit fc1ab0aCopy full SHA for fc1ab0a
gradle/spotless.gradle
@@ -1,7 +1,4 @@
1
apply plugin: 'com.diffplug.spotless'
2
-tasks.named('spotlessApply') {
3
- dependsOn 'build'
4
-}
5
spotless {
6
def noInternalDepsClosure = {
7
String text = it
@@ -34,3 +31,11 @@ spotless {
34
31
greclipse().configFile rootProject.files('gradle/spotless.eclipseformat.xml', 'gradle/spotless.groovyformat.prefs')
35
32
}
36
33
+//tasks.named('build') {
+// dependsOn 'spotlessApply'
+// shouldRunAfter 'spotlessApply'
37
+//}
38
+tasks.named('spotlessCheck') {
39
+ dependsOn 'spotlessApply'
40
+ mustRunAfter 'spotlessApply'
41
+}
0 commit comments