Skip to content

Commit

Permalink
Fix dependency checks on libs when generating Eclipse configuration.
Browse files Browse the repository at this point in the history
Currently this fails because the Eclipse configuration splits the main and test
folders into separate projects to avoid circular dependencies.

Relates elastic#29336
  • Loading branch information
jpountz committed Apr 17, 2018
1 parent fd161d2 commit 9d72aa6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit 9d72aa6

Please sign in to comment.