From 42bc8508bc0018a49790767bffb37e2542083a17 Mon Sep 17 00:00:00 2001 From: Usman Saleem Date: Tue, 2 Apr 2024 22:25:53 +1000 Subject: [PATCH] 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 --- build.gradle | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/build.gradle b/build.gradle index 0feccb1e53..95145af9c2 100644 --- a/build.gradle +++ b/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