Skip to content

Commit e7b731f

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

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
@@ -164,8 +164,8 @@ publishing {
164164
name = "Snapshots"
165165
url = "https://central.sonatype.com/repository/maven-snapshots/"
166166
credentials {
167-
username = "$System.env.SONATYPE_USERNAME"
168-
password = "$System.env.SONATYPE_PASSWORD"
167+
username = System.getenv("SONATYPE_USERNAME")
168+
password = System.getenv("SONATYPE_PASSWORD")
169169
}
170170
}
171171
}

0 commit comments

Comments
 (0)