Skip to content

Commit d0a9d30

Browse files
authored
Migrate OSSRH to Central Portal
1 parent 82582c2 commit d0a9d30

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

publish/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ java {
1111
targetCompatibility = JavaVersion.VERSION_17
1212
}
1313

14-
version = "1.1"
14+
version = "1.2"
1515

1616
kotlin {
1717
jvmToolchain(17)

publish/src/main/kotlin/org/lsposed/lsplugin/PublishPlugin.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ class PublishPlugin : Plugin<Project> {
112112
plugins.withType(MavenPublishPlugin::class.java) {
113113
extensions.configure(PublishingExtension::class.java) {
114114
configRepository {
115-
name = "ossrh"
116-
url = uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/")
115+
name = "CentralPortal"
116+
url = uri("https://central.sonatype.com/api/v1/publisher/upload")
117117
credentials(PasswordCredentials::class)
118118
}
119119
}

0 commit comments

Comments
 (0)