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
[Build] Cache spotless p2 dependencies when baking ci image (#118523) (#118591)
The eclipse formatter used by spotless is resolved at runtime and not declared as
gradle dependency. Therefore we need to run the spotless task to ensure we have
the dependencies resolved as part of our ci image baking.
This should avoid issues with connecting to p2 repos we have experienced lately
in our ci environment
* Revert "[Build] Declare mirror for eclipse p2 repository (#117732)"
This reverts commit c35777a.
Copy file name to clipboardExpand all lines: build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/FormattingPrecommitPlugin.java
+1-4
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,6 @@
17
17
importorg.gradle.api.Project;
18
18
19
19
importjava.io.File;
20
-
importjava.util.Arrays;
21
-
importjava.util.Map;
22
20
23
21
/**
24
22
* This plugin configures formatting for Java source using Spotless
@@ -66,8 +64,7 @@ public void apply(Project project) {
0 commit comments