Skip to content

Commit b7a103c

Browse files
authored
add spotless to all build.gradle files (opensearch-project#3453)
Signed-off-by: Brian Flores <[email protected]>
1 parent c8ea5b1 commit b7a103c

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

client/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ spotless {
2727
removeUnusedImports()
2828
importOrder 'java', 'javax', 'org', 'com'
2929

30-
eclipse().configFile rootProject.file('.eclipseformat.xml')
30+
eclipse().withP2Mirrors(Map.of("https://download.eclipse.org/", "https://mirror.umd.edu/eclipse/")).configFile rootProject.file('.eclipseformat.xml')
3131
}
3232
}
3333

common/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ spotless {
7979
removeUnusedImports()
8080
importOrder 'java', 'javax', 'org', 'com'
8181

82-
eclipse().configFile rootProject.file('.eclipseformat.xml')
82+
eclipse().withP2Mirrors(Map.of("https://download.eclipse.org/", "https://mirror.umd.edu/eclipse/")).configFile rootProject.file('.eclipseformat.xml')
8383
}
8484
}
8585

memory/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@ spotless {
8282
removeUnusedImports()
8383
importOrder 'java', 'javax', 'org', 'com'
8484

85-
eclipse().configFile rootProject.file('.eclipseformat.xml')
85+
eclipse().withP2Mirrors(Map.of("https://download.eclipse.org/", "https://mirror.umd.edu/eclipse/")).configFile rootProject.file('.eclipseformat.xml')
8686
}
8787
}

ml-algorithms/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,6 @@ spotless {
136136
removeUnusedImports()
137137
importOrder 'java', 'javax', 'org', 'com'
138138

139-
eclipse().configFile rootProject.file('.eclipseformat.xml')
139+
eclipse().withP2Mirrors(Map.of("https://download.eclipse.org/", "https://mirror.umd.edu/eclipse/")).configFile rootProject.file('.eclipseformat.xml')
140140
}
141141
}

search-processors/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ spotless {
7878
removeUnusedImports()
7979
importOrder 'java', 'javax', 'org', 'com'
8080

81-
eclipse().configFile rootProject.file('.eclipseformat.xml')
81+
eclipse().withP2Mirrors(Map.of("https://download.eclipse.org/", "https://mirror.umd.edu/eclipse/")).configFile rootProject.file('.eclipseformat.xml')
8282
}
8383
}

0 commit comments

Comments
 (0)