Hi, does anyone know if it is possible to set the gradle-user-home in other
ways than through the -g option of gradle launcher?

What I'm aiming for is to have an assembly project that is using gradle to
resolve all of my artifacts (with dependencies) into a seperate cache
(<project>/assemblyCache/) instead of <user home>/.gradle/cache.
Then I'm planning on using the resulting cache as a repository for an
assembler (a zip artifact) which uses configurations to package features
into delivery artifacts (zips,ear files etc...)
This assembler with the resolved cache is then shipped to the 'Services And
Delivery' department which uses it to control the packaging.
I'm also aiming to ship gradle wrapper in this assembler for convenience.

I can achieve this by using the -g option (providing some shell scripts to
simplify execution) - however it would be much smoother if I could set this
in either the build.gradle script (this is probably a bootstrap issue
though) or a property file.
Just want to know if it is an option.

regards
gretar

Reply via email to