Skip to content

Commit 899014b

Browse files
authored
fix: Update System.env syntax for Gradle 9 compatibility (#6004)
Signed-off-by: Daniel Widdis <widdis@gmail.com>
1 parent 306ef63 commit 899014b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

buildSrc/src/main/groovy/data-prepper.publish.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ afterEvaluate {
1919
name = 'snapshots'
2020
url = 'https://central.sonatype.com/repository/maven-snapshots/'
2121
credentials {
22-
username "$System.env.SONATYPE_USERNAME"
23-
password "$System.env.SONATYPE_PASSWORD"
22+
username System.getenv("SONATYPE_USERNAME")
23+
password System.getenv("SONATYPE_PASSWORD")
2424
}
2525
}
2626
}

0 commit comments

Comments
 (0)