mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-04-06 02:01:58 +02:00
add university of maryland mirror for Eclipse formatter (#1289)
This commit is contained in:
@@ -14,7 +14,7 @@ android.nonTransitiveRClass=true
|
||||
org.gradle.unsafe.configuration-cache=false
|
||||
|
||||
kotlinVersion=2.0.20
|
||||
spotlessVersion=6.25.0
|
||||
spotlessVersion=7.0.2
|
||||
shadowJarVersion=8.3.2
|
||||
buildconfigVersion=5.5.0
|
||||
grgitVersion=5.2.2
|
||||
|
||||
@@ -20,7 +20,7 @@ configure<com.diffplug.gradle.spotless.SpotlessExtension> {
|
||||
// define the steps to apply to those files
|
||||
trimTrailingWhitespace()
|
||||
endWithNewline()
|
||||
indentWithTabs()
|
||||
leadingSpacesToTabs()
|
||||
}
|
||||
// format "yaml", {
|
||||
// target "*.yml", "*.yaml",
|
||||
@@ -61,6 +61,8 @@ configure<com.diffplug.gradle.spotless.SpotlessExtension> {
|
||||
|
||||
removeUnusedImports()
|
||||
// Use eclipse JDT formatter
|
||||
eclipse().configFile("spotless.xml")
|
||||
eclipse()
|
||||
.configFile("spotless.xml")
|
||||
.withP2Mirrors(mapOf("https://download.eclipse.org/" to "https://mirror.umd.edu/eclipse/"))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user