Hi everybody,
I have a question regarding runtime configuration of project
dependencies. My goal is to dynamically configure project dependencies
(compile, runtime, test etc.) based on it's name (then possibly to
override it on individual basis).
My script looks like this:
allprojects {
beforeEvaluate { project ->
if ( project.name.endsWith("-web") )
project.dependencies.add("compile", project(':web-lib'))
}
}
However I get this error :
Cause: Could not find method call() for arguments [:web-lib] on
project ':project1-web'
Is there any other way I could achieve this ?
Thanks for your help,
Andrei.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email