Here is another plugin called Gradle Workspace Plugin (gradle-ws) or simply ws.

http://gradle.codehaus.org/Plugins#Plugins-WorkspacePlugin

In few words, it allows to:
    * load project properties from a CSV file
    * create and synchronize sub-project's build.gradle files from
sections of a central workspace file
    * add conditional project dependencies

The main usage scenario have the following characteristics:
- multi-project environment (flat) with dependent jars in the lib
folder and not central repository
- each project must be exported from a subversion repository
- the projects cannot store the Gradle scripts
in such case the ws plugins allows to specify the subversion
properties (projects names, paths, etc) in the CSV file
(default=workspace.csv). Furthermore, using the following snippets

dependencies {
      compile ws_project('prj1')
}

it is possible to specify a conditional dependency from the project
prj1 or its jar prj1.jar. Finally, each build.gradle scipt of the
projects can be assembled together in a file of the root project
(default=workspace.gradle), then everytime gradle starts it checks if
the scripts need to be synchronized either toward the project or in
the central file.

Many stuff could be improved, from code to functionality. So, consider
it just as a starting point.

Any comment/suggestion/improvement is welcome.

Regards,

Walter

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to