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 0183eb8 commit fe9cfe0Copy full SHA for fe9cfe0
src/main/java/org/gradlex/conventions/check/SpotlessConventionsPlugin.java
@@ -42,10 +42,12 @@ public void apply(Project project) {
42
43
// format the source code
44
spotless.java(java -> {
45
+ java.targetExclude("build/**");
46
java.palantirJavaFormat();
47
java.licenseHeader("// SPDX-License-Identifier: Apache-2.0\n", "package|import");
48
});
49
spotless.format("javaPackageInfoFiles", java -> {
50
51
// add a separate extension due to https://github.com/diffplug/spotless/issues/532
52
java.target("src/**/package-info.java");
53
0 commit comments