Skip to content

Commit

Permalink
build: Remove incomplete artifactory task (#6857)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
usmansaleem authored Apr 2, 2024
1 parent 36e914b commit 42bc850
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,6 @@ subprojects {
password = artifactoryKey
}
defaults {
publishBuildInfo = false //currently 404'ing still to be investigated
publications('mavenJava')
publishArtifacts = true
publishPom = true
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 42bc850

Please sign in to comment.