[email protected] wrote:
Hi all,


I have a hierarchical multiproject build which has names such as "foo_barr"
for the sub project directories. I would like the produced artifacts to be
"foo-bar.ext" (hyphen rather then underscore). However I cannot change the
baseName in the subprojects as it is read only. I can change the basenames
of subprojects  from the top level settings.gradle but then the build fails
as it seems to assume that the directory name is the same as the base name
(and it isn't). I can have a settings.gradle in each subproject but that
stops me being able to simply do partial builds.

What am I missing here?


You can specify the project directory for each subproject in the settings file:

include 'foo-bar'

project('foo-bar').dir = new File(rootDir, 'foo_bar')


Adam


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

   http://xircles.codehaus.org/manage_email


Reply via email to