abstract fun mavenLocal(): MavenArtifactRepository
Adds a repository which looks in the local Maven cache for dependencies. The name of the repository is {@value org.gradle.api.artifacts.ArtifactRepositoryContainer#DEFAULT_MAVEN_LOCAL_REPO_NAME}.
Examples:
repositories { mavenLocal() }
The location for the repository is determined as follows (in order of precedence):
~/.m2/settings.xml
if this file exists and element is set;$M2_HOME/conf/settings.xml
(where $M2_HOME
is the value of the environment variable with that name) if this file exists and element is set;~/.m2/repository
.Return
the added resolver