Skip to content

Commit 5d85985

Browse files
authored
ci(publishing): Use shim ossrh-staging-api server to publish to the new central repo (#940)
* Update settings.xml * Update .craft.yml
1 parent b1f8edd commit 5d85985

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.craft.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ targets:
55
gradleCliPath: ./gradlew
66
mavenCliPath: scripts/mvnw
77
mavenSettingsPath: scripts/settings.xml
8-
mavenRepoId: ossrh
9-
mavenRepoUrl: https://oss.sonatype.org/service/local/staging/deploy/maven2/
8+
mavenRepoId: ossrh-staging-api
9+
mavenRepoUrl: https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/
1010
android: false
1111
- name: github
1212
- name: registry

scripts/settings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
https://maven.apache.org/xsd/settings-1.0.0.xsd">
55
<servers>
66
<server>
7-
<id>ossrh</id>
7+
<id>ossrh-staging-api</id>
88
<username>${env.OSSRH_USERNAME}</username>
99
<password>${env.OSSRH_PASSWORD}</password>
1010
</server>

0 commit comments

Comments
 (0)