How to pass parameter to gradle task using tooling-api

(jomblick.21) #1


In GradleLauncher , we can pass parameters to task using ProjectProperties. Eg: something like this

Map<String,String> projectProperties = new HashMap<String, String>();
  projectProperties.put("Name", "xxxx");

How to achieve the same using gradle-tooling-api ??

(Szczepan Faber) #2

The javadoc contains the samples:

Hope that helps!

(jomblick.21) #3

Thanks!!! That helped :slight_smile: