Hi,
I am writing a plugin for Gradle and I'd like to make sure that the user
may pass a property on command line instead of having to put it in
build.gradle (this is for "one shot" commands).
I have a plugin extension class, so my build.gradle file has a
configuration snippet like this:
cloudfoundryService {
serviceName = 'foo'
...
}
It works fine this way, but what I'd like to do is to allow specifying
that "serviceName" from command-line:
./gradlew -PcloudfoundryService.serviceName='foo' my-task
But this doesn't seem to work. Is it supported or should I use a system
property instead ?
Thanks!
--
Cédric Champeau
SpringSource - A Division Of VMware
http://www.springsource.com/
http://twitter.com/CedricChampeau
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email