File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -3,16 +3,17 @@ spotless {
33 if (project != rootProject) {
44 // the rootProject doesn't have any java
55 java {
6- ratchetFrom ' origin/main'
76 bumpThisNumberIfACustomStepChanges(1 )
8- licenseHeaderFile rootProject. file(' gradle/spotless.license' )
9- importOrderFile rootProject. file(' gradle/spotless.importorder' )
107 eclipse(). configFile rootProject. file(' gradle/spotless.eclipseformat.xml' )
11- trimTrailingWhitespace()
12- removeUnusedImports()
13- formatAnnotations()
14- forbidWildcardImports()
8+ expandWildcardImports()
159 forbidRegex(' ForbidGradleInternal' , ' import org\\ .gradle\\ .api\\ .internal\\ .(.*)' , " Don't use Gradle's internal API" )
10+ forbidWildcardImports()
11+ formatAnnotations()
12+ importOrderFile rootProject. file(' gradle/spotless.importorder' )
13+ licenseHeaderFile rootProject. file(' gradle/spotless.license' )
14+ ratchetFrom ' origin/main'
15+ removeUnusedImports()
16+ trimTrailingWhitespace()
1617 }
1718 }
1819 groovyGradle {
You can’t perform that action at this time.
0 commit comments