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