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
…29550)

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

Relates #29336
  • Loading branch information
jpountz committed Apr 17, 2018
1 parent 80e6b73 commit e3e81ff
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 e3e81ff

Please sign in to comment.