Skip to content

Commit e3e81ff

Browse files
committed
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
1 parent 80e6b73 commit e3e81ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ subprojects {
3434
Project depProject = dependencyToProject(dep)
3535
if (depProject != null
3636
&& false == depProject.path.equals(':libs:elasticsearch-core')
37+
&& false == isEclipse
3738
&& depProject.path.startsWith(':libs')) {
3839
throw new InvalidUserDataException("projects in :libs "
3940
+ "may not depend on other projects libs except "

0 commit comments

Comments
 (0)