Browse Source

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
pull/22463/head
Sam Brannen 6 years ago
parent
commit
9093b870dd
  1. 2
      build.gradle

2
build.gradle

@ -146,9 +146,9 @@ configure(allprojects) { project -> @@ -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 {

Loading…
Cancel
Save