Setting system properties in installApp task


(Giancarlo Frison) #1

I’d like to add system properties to the generated installApp script (application plugin).

With optsEnvironmentVar I can set the name of variable, but what I want is to set the value in the build.gradle as well, like run task.

ex: systemProperties = [‘env’:‘value’]

How I can do that without setting variable values in the underline OS? Thanks


(andrew.oberstar) #2

GRADLE-1456 is related to this.