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.
artifactoryPublish
maven-publish
1 parent cc6eaf1 commit 6187263Copy full SHA for 6187263
utils/spring-artifactory-init.gradle
@@ -16,6 +16,7 @@ allprojects {
16
apply plugin: 'signing'
17
18
tasks.register('artifactoryPublish', org.jfrog.gradle.plugin.artifactory.task.ArtifactoryTask) {
19
+ enabled(false)
20
setCiServerBuild()
21
}
22
@@ -60,9 +61,13 @@ allprojects {
60
61
clientConfig.insecureTls = false
62
63
- if (!ossrhUrl && gpgPassphrase && gpgPrivateKey) {
64
- afterEvaluate {
65
- pluginManager.withPlugin('maven-publish') {
+
+ afterEvaluate {
66
+ pluginManager.withPlugin('maven-publish') {
67
+ tasks.named('artifactoryPublish') {
68
+ enabled(true)
69
+ }
70
+ if (!ossrhUrl && gpgPassphrase && gpgPrivateKey) {
71
signing {
72
useInMemoryPgpKeys(gpgPrivateKey, gpgPassphrase)
73
sign publishing.publications.mavenJava
0 commit comments