grails-gradle-plugin-archived
grails-gradle-plugin-archived copied to clipboard
Alternate GRADLE_USER_HOME is breaking Grails dependencies
Users have a domain controlled mapped UNC home directory they do not want to use. Using an altered Gradle user home location set via system variable GRADLE_USER_HOME, breaks grails dependencies.
GRADLE_USER_HOME is set to c:\users\fred.gradle
Running the command ./gradlew grails-run-app -PgrailsArgs=--non-interactive
produced the following results:
-
c:\users\fred\.gradle
is populated as expected - The .grails folder is created at
\\remotemachine\home$\fred
(NOT the c:/user/fred/.grails) - The following error is received:
Plugin zip not found at location: \\remotemachine\home$\fred\.gradle\caches\modules-2\files-2.1\org.grails.plugins\asset-pipeline\1.8.11\be58b2cc8943bc3fececc2ad36e4d784806ab419\asset-pipeline-1.8.11.zip. Potential corrupt cache. Try running: grails --refresh-dep
Ideally both the .gradle and .grails dirs would be created in the local c:/users/fred/ directory, but they are not and I am unsure how work around this domain controlled user folder?