build: Remove incomplete artifactory task (#6857)

* build: Remove incomplete artifactory task
The top level artifactory task was used to upload dists to artifactory which has been moved to GH

* build: Adding back top level publishing task

---------

Signed-off-by: Usman Saleem <usman@usmans.info>
pull/6861/head
Usman Saleem 8 months ago committed by GitHub
parent 36e914bf4e
commit 42bc8508bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 16
      build.gradle

@ -499,7 +499,6 @@ subprojects {
password = artifactoryKey
}
defaults {
publishBuildInfo = false //currently 404'ing still to be investigated
publications('mavenJava')
publishArtifacts = true
publishPom = true
@ -696,21 +695,6 @@ publishing {
}
}
def artifactoryUser = project.hasProperty('artifactoryUser') ? project.property('artifactoryUser') : System.getenv('ARTIFACTORY_USER')
def artifactoryKey = project.hasProperty('artifactoryApiKey') ? project.property('artifactoryApiKey') : System.getenv('ARTIFACTORY_KEY')
def artifactoryOrg = System.getenv('ARTIFACTORY_ORG') ?: 'hyperledger'
artifactory {
contextUrl = "https://hyperledger.jfrog.io/${artifactoryOrg}"
publish {
defaults {
publications('distArtifactory')
publishArtifacts = true
publishPom = false
}
}
}
artifactoryPublish {
dependsOn distTar
dependsOn distZip

Loading…
Cancel
Save