GradleConnector usage


(radhakrishnand) #1

Hi,

while using gradle toolingAPI, how to pass the properties .

Eg::

/home/ppoker/gradle-1.0-milestone-8a/bin/gradle -I /home/ppoker/gradle-1.0-milestone-8a/initscript.gradle -b /home/ppoker/repository/MLR/ZDT-POC//gradleFiles/CommonService/1.0/deploy-descriptor.gradle prepareDeployableAsset -PserviceName=CommonService -PserviceVersion=1.0

How will i perform the above action with gradleConnector


(Szczepan Faber) #2

Hey,

Tooling API now supports build parameters. You need Gradle RC-3 for that. More information, including links to the user guide and code samples: http://wiki.gradle.org/display/GRADLE/Gradle+1.0-rc-1+Release+Notes#Gradle1.0-rc-1ReleaseNotes-ToolingAPIallowsprovidingbuildargumentsforrunningtasksorbuildingmodel

Cheers!