We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aff250d commit e0d460eCopy full SHA for e0d460e
maven_push.gradle
@@ -87,6 +87,20 @@ afterEvaluate { project ->
87
}
88
89
90
+ task installArchives(type: Upload) {
91
+ description "Installs the artifacts to the local Maven repository."
92
+ configuration = configurations['archives']
93
+ repositories {
94
+ mavenDeployer {
95
+ pom.groupId = GROUP
96
+ pom.artifactId = POM_ARTIFACT_ID
97
+ pom.version = VERSION_NAME
98
+
99
+ repository url: "file://${System.properties['user.home']}/.m2/repository"
100
+ }
101
102
103
104
signing {
105
required { isReleaseBuild() && gradle.taskGraph.hasTask("uploadArchives") }
106
sign configurations.archives
0 commit comments