From 9093b870ddbe9e595e090bf589afc0fea566a3c3 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Sat, 23 Feb 2019 00:50:57 +0100 Subject: [PATCH] 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 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index c8b3718b80..1777a407bf 100644 --- a/build.gradle +++ b/build.gradle @@ -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 {