Multiple eclipse-gradle project and classpath overload


(Diego Zanga) #1

with the previous gradle eclipse project I could manage 3 eclipse-gradle project to work “alone” as usual like:

project a, classpath from gradle
project b, classpath from gradle
project c, classpath from gralde

or i could overload the classpath

project a, classpath from gradle
project b, classpath from project a and then from gradle
project c, classpath from project a, then from project b, then from gralde

this project are like lego cubes, so we need to test and publish 'em alone on artifactory with gradle, but we need too to debug 'em all in the same session:
actually with buildship it seems that if i change the default project classpath, then the gradle classpath from buildship no more work

I can’t understand if there is some information about “classpath overload” like this in the documents of the project

any idea?

thanks


(Donát Csikós) #2

Sounds like you want to use composite builds which is supported by Buildship since 2.0: https://blog.gradle.org/announcing-buildship-2.0