You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't apply the spotless plugin to non-applicable projects (#80679)
This is an attempt at resolving, or at least reducing the prevalence of
#77837. A more robust solution is probably required, but this should
help reduce this problem since we now apply spotless to about 90 fewer
subprojects.
Copy file name to clipboardExpand all lines: build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/FormattingPrecommitPlugin.java
+2-15Lines changed: 2 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,6 @@
14
14
importorg.gradle.api.Plugin;
15
15
importorg.gradle.api.Project;
16
16
17
-
importjava.util.List;
18
-
19
17
/**
20
18
* This plugin configures formatting for Java source using Spotless
21
19
* for Gradle. Since the act of formatting existing source can interfere
@@ -43,10 +41,7 @@ public class FormattingPrecommitPlugin implements Plugin<Project> {
0 commit comments