Skip to content

Commit dfc294a

Browse files
add spotless to all build.gradle files (#3453) (#3454)
Signed-off-by: Brian Flores <iflorbri@amazon.com> (cherry picked from commit b7a103c) Co-authored-by: Brian Flores <iflorbri@amazon.com>
1 parent 4e8afcd commit dfc294a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

client/build.gradle

+1-1
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ spotless {
7777
removeUnusedImports()
7878
importOrder 'java', 'javax', 'org', 'com'
7979

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

memory/build.gradle

+1-1
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,6 @@ spotless {
134134
removeUnusedImports()
135135
importOrder 'java', 'javax', 'org', 'com'
136136

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

search-processors/build.gradle

+1-1
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)