Skip to content

Commit b6b8f49

Browse files
committed
fix: Update System.env syntax for Gradle 9 compatibility
Signed-off-by: Daniel Widdis <widdis@gmail.com>
1 parent c9eb7fb commit b6b8f49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ subprojects {
120120
name = 'Snapshots'
121121
url = 'https://central.sonatype.com/repository/maven-snapshots/'
122122
credentials {
123-
username = "$System.env.SONATYPE_USERNAME"
124-
password = "$System.env.SONATYPE_PASSWORD"
123+
username = System.getenv("SONATYPE_USERNAME")
124+
password = System.getenv("SONATYPE_PASSWORD")
125125
}
126126
}
127127
}

0 commit comments

Comments
 (0)