Move mavenLocal() to bottom of repositories list
This commit moves mavenLocal() to the bottom of the repositories list so that Gradle's Eclipse IDE support will properly link binary JARs to their source JARS in generated Eclipse .classpath files. According to Gradle experts, "`mavenLocal` should basically never be the first repo in the list." https://github.com/eclipse/buildship/issues/655#issuecomment-366227296
This commit is contained in:
@@ -146,9 +146,9 @@ configure(allprojects) { project ->
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
maven { url "https://repo.spring.io/libs-release" }
|
||||
maven { url "https://repo.spring.io/snapshot" } // Reactor
|
||||
mavenLocal()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
Reference in New Issue
Block a user