File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed
src/main/java/com/formkiq/gradle Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Features:
2222Using the [ plugins DSL] ( https://docs.gradle.org/current/userguide/plugins.html#sec:plugins_block ) :
2323``` groovy
2424plugins {
25- id 'com.formkiq.gradle.java-base' version '1.0.0 '
25+ id 'com.formkiq.gradle.java-base' version '1.0.2 '
2626}
2727```
2828
@@ -35,7 +35,7 @@ buildscript {
3535 }
3636 }
3737 dependencies {
38- classpath "com.formkiq.gradle:java-base:1.0.0 "
38+ classpath "com.formkiq.gradle:java-base:1.0.2 "
3939 }
4040}
4141
@@ -46,7 +46,7 @@ apply plugin: "com.formkiq.gradle.java-base"
4646Using the [ plugins DSL] ( https://docs.gradle.org/current/userguide/plugins.html#sec:plugins_block ) :
4747``` kotlin
4848plugins {
49- id(" com.formkiq.gradle.java-base" ) version " 1.0.0 "
49+ id(" com.formkiq.gradle.java-base" ) version " 1.0.2 "
5050}
5151```
5252
@@ -59,7 +59,7 @@ buildscript {
5959 }
6060 }
6161 dependencies {
62- classpath(" com.formkiq.gradle:java-base:1.0.0 " )
62+ classpath(" com.formkiq.gradle:java-base:1.0.2 " )
6363 }
6464}
6565
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.1 '
8+ version ' 1.0.2 '
99
1010allprojects {
1111 apply plugin : ' com.diffplug.spotless'
Original file line number Diff line number Diff line change @@ -54,25 +54,30 @@ 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/**" );
5758 j .removeUnusedImports ();
5859 j .removeWildcardImports ();
60+
5961 j .licenseHeaderFile (p .getRootProject ().file ("LICENSE" ));
6062 });
6163 s .groovyGradle (g -> {
6264 g .target ("*.gradle" , "**/*.gradle" );
65+ g .targetExclude ("build/**" );
6366 g .greclipse ();
6467 g .leadingTabsToSpaces (2 );
6568 g .trimTrailingWhitespace ();
6669 g .endWithNewline ();
6770 });
6871 s .json (j -> {
6972 j .target ("*.json" , "**/*.json" );
73+ j .targetExclude ("build/**" );
7074 j .prettier ();
7175 });
7276
7377 s .format ("xml" , f -> {
7478 f .target ("*.xml" , "**/*.xml" );
7579 f .eclipseWtp (EclipseWtpFormatterStep .XML );
80+ f .targetExclude ("build/**" );
7681 f .trimTrailingWhitespace ();
7782 f .endWithNewline ();
7883 });
You can’t perform that action at this time.
0 commit comments