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 97edabf commit 1cf5d77Copy full SHA for 1cf5d77
build.gradle
@@ -155,10 +155,9 @@ uploadArchives {
155
authentication(userName: "$repoUsername", password: "$repoPassword")
156
}
157
158
- if(uploadToMavenCentral) {
159
- beforeDeployment { org.gradle.api.artifacts.maven.MavenDeployment deployment -> signing.signPom(deployment) }
160
- }
161
-
+ if (project.property('uploadRepository').contains("sonatype")) {
+ beforeDeployment { org.gradle.api.artifacts.maven.MavenDeployment deployment -> signing.signPom(deployment) }
+ }
162
163
configurePom(pom)
164
0 commit comments