Skip to content

Commit aaae4b5

Browse files
authored
chore: migrate publishing to Central Portal (#228)
https://central.sonatype.org/register/central-portal/
1 parent c305ce5 commit aaae4b5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build.gradle.kts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ plugins {
1010
alias(libs.plugins.nexus.publish)
1111
alias(libs.plugins.ben.manes.versions)
1212
alias(libs.plugins.kotlinter)
13-
alias(libs.plugins.binary.compat.validator)
13+
alias(libs.plugins.binary.compat.validator)
1414

1515
// https://github.com/JetBrains/compose-multiplatform/issues/4773#issuecomment-2100795877
1616
id("convention.multiplatform") apply false
@@ -37,7 +37,10 @@ apiValidation {
3737

3838
nexusPublishing {
3939
repositories {
40-
sonatype()
40+
sonatype {
41+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
42+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
43+
}
4144
}
4245
}
4346

0 commit comments

Comments
 (0)