diff --git a/build.gradle.kts b/build.gradle.kts index 2af6b7e1..49c0179b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -207,8 +207,9 @@ tasks { dependsOn(packSonatypeCentralBundle) doLast { + // https://central.sonatype.org/publish/publish-portal-api/#uploading-a-deployment-bundle val uriBase = rootProject.extra["centralPortalApiUrl"] as String - val publicationType = "USER_MANAGED" + val publicationType = "AUTOMATIC" val deploymentName = "rd-$version" val uri = "$uriBase?name=$deploymentName&publicationType=$publicationType"