Skip to content

Commit ec05cf7

Browse files
committed
update
1 parent 995a931 commit ec05cf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ nexusPublishing {
4949
sonatype {
5050
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
5151
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
52-
username.set(System.getenv("SONATYPE_USERNAME_TEST"))
53-
password.set(System.getenv("SONATYPE_PASSWORD_TEST"))
52+
username.set("${findProperty("aws.sonatype.username") ?: System.getenv("SONATYPE_USERNAME_TEST")}")
53+
password.set("${findProperty("aws.sonatype.password") ?: System.getenv("SONATYPE_PASSWORD_TEST")}")
5454
}
5555
}
5656
}

0 commit comments

Comments
 (0)