From 9d72aa6a9ebcb000119382cd388b50f25c3ee578 Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Tue, 17 Apr 2018 10:24:35 +0200 Subject: [PATCH] Fix dependency checks on libs when generating Eclipse configuration. Currently this fails because the Eclipse configuration splits the main and test folders into separate projects to avoid circular dependencies. Relates #29336 --- libs/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/build.gradle b/libs/build.gradle index 78eb93886243d..7f24f69eedc2e 100644 --- a/libs/build.gradle +++ b/libs/build.gradle @@ -34,6 +34,7 @@ subprojects { Project depProject = dependencyToProject(dep) if (depProject != null && false == depProject.path.equals(':libs:elasticsearch-core') + && false == isEclipse && depProject.path.startsWith(':libs')) { throw new InvalidUserDataException("projects in :libs " + "may not depend on other projects libs except "