Did you try the example from the user guide: http://gradle.org/current/docs/userguide/userguide_single.html#customLayout ?
You can configure location of a project in settings.gradle using: project(':x').projectDir = ... Cheers! On Mon, Jun 6, 2011 at 6:42 PM, dcracauer <dcraca...@gmail.com> wrote: > Hi, > I'm working on a prototype of a new project using Gradle that needs to > integrate with existing library projects. Currently, there isn't any > dependency management going on here; The CI server is configured to pull > all the required projects from SVN then build with headless eclipse. We > want to move to a more modular system using Ivy or Maven for dependency > management, but, we have to be able to move things a bit at a time. > > What I'd like to have is a setup like this: > > MyNewEarProject > -build.gradle etc > -MyNewWarProject > - build.gradle > MyExistingLibProject > -build.gradle > -existing build config > > I'd like to configure 'MyNewEarProject' to have a Project dependency on > MyExistingLibProject, even though it lives outside the project structure. > Can this be done? > > Thanks, > Dave > > -- > View this message in context: > http://gradle.1045684.n5.nabble.com/Multi-Project-setup-with-external-Project-tp4459191p4459191.html > Sent from the gradle-user mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > -- Szczepan Faber Principal engineer@gradleware Lead@mockito --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email