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
This commit is contained in:
parent
983d6c15a2
commit
a8c2cc6ce7
|
@ -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 "
|
||||
|
|
Loading…
Reference in New Issue