Skip to content

Commit dd75eb2

Browse files
committed
chore: trying to fix publishing
1 parent 6c9ad43 commit dd75eb2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ shadowJar {
7676
exclude '**/*'
7777
}
7878

79-
// Remove when using gradle-wiremock-extension-plugins:0.5.1 or later
79+
// Remove when using gradle-wiremock-extension-plugins:0.5.2 or later
8080
nexusPublishing {
8181
repositories {
8282
named("sonatype") {
8383
nexusUrl = uri("https://ossrh-staging-api.central.sonatype.com/service/local/")
84-
username = providers.environmentVariable("OSSRH_USERNAME").orElse("").get()
85-
password = providers.environmentVariable("OSSRH_TOKEN").orElse("").get()
84+
username = providers.environmentVariable("MAVEN_CENTRAL_USERNAME").orElse("").get()
85+
password = providers.environmentVariable("MAVEN_CENTRAL_TOKEN").orElse("").get()
8686
}
8787
}
8888
}

0 commit comments

Comments
 (0)