File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
src/main/java/com/formkiq/gradle Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ plugins {
55}
66
77group ' com.formkiq.gradle'
8- version ' 1.0.3 '
8+ version ' 1.0.4 '
99
1010allprojects {
1111 apply plugin : ' com.diffplug.spotless'
Original file line number Diff line number Diff line change @@ -54,30 +54,26 @@ public void apply(Project root) {
5454 s .java (j -> {
5555 j .eclipse ().sortMembersEnabled (true )
5656 .configFile (p .getRootProject ().file ("spotless.eclipseformat.xml" ));
57- j .targetExclude ("**/build/**" );
5857 j .removeUnusedImports ();
5958 j .removeWildcardImports ();
6059
6160 j .licenseHeaderFile (p .getRootProject ().file ("LICENSE" ));
6261 });
6362 s .groovyGradle (g -> {
64- g .target ("*.gradle" , "**/*.gradle" );
65- g .targetExclude ("**/build/**" );
63+ g .target ("*.gradle" );
6664 g .greclipse ();
6765 g .leadingTabsToSpaces (2 );
6866 g .trimTrailingWhitespace ();
6967 g .endWithNewline ();
7068 });
7169 s .json (j -> {
72- j .target ("*.json" , "**/*.json" );
73- j .targetExclude ("**/build/**" );
70+ j .target ("*.json" , "src/**/*.json" );
7471 j .prettier ();
7572 });
7673
7774 s .format ("xml" , f -> {
78- f .target ("*.xml" , "**/*.xml" );
75+ f .target ("*.xml" , "src/ **/*.xml" );
7976 f .eclipseWtp (EclipseWtpFormatterStep .XML );
80- f .targetExclude ("**/build/**" );
8177 f .trimTrailingWhitespace ();
8278 f .endWithNewline ();
8379 });
You can’t perform that action at this time.
0 commit comments