Skip to content

Commit

Permalink
squashme proper property resolution
Browse files Browse the repository at this point in the history
Signed-off-by: l-1squared <[email protected]>
  • Loading branch information
l-1squared committed Dec 8, 2023
1 parent 6e5c006 commit a4a8d25
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ plugins {
id 'com.github.node-gradle.node' version '7.0.1' apply false
}



apply plugin: 'project-report'

description = 'JGiven - BDD in plain Java'
Expand Down Expand Up @@ -121,8 +119,8 @@ subprojects {
}
repositories {
maven {
String releaseUrl = project.property.publishing.releaseUrl
String snapshotUrl = project.property.publishing.snapshotUrl
String releaseUrl = project["publishing.releaseUrl"]
String snapshotUrl = project["publishing.releaseUrl"]
url = System.env.RELEASE == "true" ? releaseUrl : snapshotUrl
credentials {
username = sonatypeUsername
Expand Down

0 comments on commit a4a8d25

Please sign in to comment.