Gradle does not internally do “mvn” call. At the moment the -Dmaven.repo.local=“path” is not evaluated to locate the local maven repository. Under the hood, Gradle uses the maven settings builder api to detect the correct local maven repository. I’ve just tested the behaviour of the settings builder api and it seems that it ignores the maven.repo.local system property.
cheers;