diff --git a/gradle/publish.gradle b/gradle/publish.gradle index b953a46a..740655d0 100644 --- a/gradle/publish.gradle +++ b/gradle/publish.gradle @@ -32,8 +32,8 @@ artifactory { contextUrl = 'https://oss.jfrog.org/artifactory' repository { repoKey = (project.version =~ /-/ ? 'oss-snapshot-local' : 'oss-release-local') - username = System.env.BINTRAY_USER - password = System.env.BINTRAY_KEY + username = System.env.BINTRAY_USERNAME + password = System.env.BINTRAY_PASSWORD maven = true } defaults { @@ -45,8 +45,8 @@ artifactory { artifactoryPublish.dependsOn 'generatePomFileForBintrayPublication', 'build' bintray { - user = System.env.BINTRAY_USER - key = System.env.BINTRAY_KEY + user = System.env.BINTRAY_USERNAME + key = System.env.BINTRAY_PASSWORD pkg { repo = 'releases' name = 'encrypted-config-value' @@ -57,7 +57,7 @@ bintray { } bintrayUpload.onlyIf { - System.env.BINTRAY_USER && System.env.BINTRAY_KEY && project.version ==~ /\d+\.\d+\.\d+/ + System.env.BINTRAY_USERNAME && System.env.BINTRAY_PASSWORD && project.version ==~ /\d+\.\d+\.\d+/ } bintrayUpload.dependsOn 'generatePomFileForBintrayPublication', 'build'