diff --git a/gradle/gradle-mvn-push.gradle b/gradle/gradle-mvn-push.gradle index 6aba8b2..cb9f5c5 100644 --- a/gradle/gradle-mvn-push.gradle +++ b/gradle/gradle-mvn-push.gradle @@ -107,3 +107,16 @@ afterEvaluate { project -> archives javadocJar } } + +task uploadArchivesLocal(type: Upload) { + description "Installs the artifacts to the local Maven repository." + configuration = configurations['archives'] + repositories { + mavenDeployer { + pom.groupId = GROUP + pom.artifactId = POM_ARTIFACT_ID + pom.version = VERSION_NAME + repository url: "file://${System.properties['user.home']}/.m2/repository" + } + } +}