Browse Source

Fix dependency checks on libs when generating Eclipse configuration. (#29550)

Currently this fails because the Eclipse configuration splits the main and test
folders into separate projects to avoid circular dependencies.

Relates #29336
Adrien Grand 7 years ago
parent
commit
a8c2cc6ce7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libs/build.gradle

+ 1 - 0
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 "