I’m trying to use a custom mavenLocal dir with the ‘-Dmaven.repo.path’ command line option.
I’m still getting errors that the dependencies can not be found in the default path:
Could not find com.google.javascript:closure-compiler:v20130411.
Searched in the following locations:
file:/home/pcm/.m2/repository/com/google/javascript/closure-compiler/v20130411/closure-compiler-v20130411.pom
file:/home/pcm/.m2/repository/com/google/javascript/closure-compiler/v20130411/closure-compiler-v20130411.jar
From the docs RepositoryHandler (Gradle API 8.4)
The location for the repository is determined as follows (in order of precedence): > >
- The value of system property ‘maven.repo.path’ if set;