Skip to content

Commit

Permalink
fix property lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
elihart committed Nov 15, 2022
1 parent 20ffc22 commit 2ad48dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-rc-3-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion publishing.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ publishing {
// The "name" value creates a task like `publishAllPublicationsTo[Name]Repository
// In this case, publishAllPublicationsToAirbnbArtifactoryRepository
name = 'airbnbArtifactory'
url = version.toString().endsWith("SNAPSHOT") ? property("ARTIFACTORY_SNAPSHOT_URL") : property("ARTIFACTORY_RELEASE_URL")
url = version.toString().endsWith("SNAPSHOT") ? findProperty("ARTIFACTORY_SNAPSHOT_URL") : findProperty("ARTIFACTORY_RELEASE_URL")
credentials {
username = getProperty("ARTIFACTORY_USERNAME")
password = getProperty("ARTIFACTORY_PASSWORD")
Expand Down

0 comments on commit 2ad48dd

Please sign in to comment.