Different root sub-project support

(Paul Sperneac) #1

Is there any support for using sub-projects from different root folder (ie different svn repositories). I already found the GradleBuild task and it is not enough; I’d like full sub-project support. Thanks

(René Groeschke) #2

You can configure the location of your sub projects relative to the root project in your settings.gradle.

the gradle build itself contains a good example on that at https://github.com/gradle/gradle/blob/master/settings.gradle

The corresponding API for that is described at http://gradle.org/current/docs/javadoc/org/gradle/api/initialization/ProjectDescriptor.html

(Paul Sperneac) #3

Thanks, I think this is what I need.

I gather there is no problem if I point the projectDir outside the path of the root project.