Skip to content

Commit f6cf4f5

Browse files
committed
use new auth tokens
1 parent 7117137 commit f6cf4f5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ fun Project.configureMavenPublish() {
159159
name = "centralPortal"
160160
url = uri("https://central.sonatype.com/api/v1/publisher/upload")
161161
credentials {
162-
username = System.getenv("SONATYPE_NEXUS_USERNAME") // Token Portal username
163-
password = System.getenv("SONATYPE_NEXUS_PASSWORD") // Token Portal password
162+
username = System.getenv("SONATYPE_NEXUS_USERNAME_V2") // Token Portal username
163+
password = System.getenv("SONATYPE_NEXUS_PASSWORD_V2") // Token Portal password
164164
}
165165
}
166166

@@ -169,8 +169,8 @@ fun Project.configureMavenPublish() {
169169
name = "centralSnapshots"
170170
url = uri("https://central.sonatype.com/repository/maven-snapshots/")
171171
credentials {
172-
username = System.getenv("SONATYPE_NEXUS_USERNAME") // Token Portal username
173-
password = System.getenv("SONATYPE_NEXUS_PASSWORD") // Token Portal password
172+
username = System.getenv("SONATYPE_NEXUS_USERNAME_V2") // Token Portal username
173+
password = System.getenv("SONATYPE_NEXUS_PASSWORD_V2") // Token Portal password
174174
}
175175
}
176176
}

0 commit comments

Comments
 (0)