Skip to content

Commit 6ca7761

Browse files
authored
fix: Update System.env syntax for Gradle 9 compatibility (#867)
Signed-off-by: Daniel Widdis <[email protected]>
1 parent 4012ecf commit 6ca7761

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
@@ -184,8 +184,8 @@ publishing {
184184
name = "Snapshots"
185185
url = "https://central.sonatype.com/repository/maven-snapshots/"
186186
credentials {
187-
username "$System.env.SONATYPE_USERNAME"
188-
password "$System.env.SONATYPE_PASSWORD"
187+
username System.getenv("SONATYPE_USERNAME")
188+
password System.getenv("SONATYPE_PASSWORD")
189189
}
190190
}
191191
}

0 commit comments

Comments
 (0)