Upgrade Android publishing to use Maven Central Portal
- Upgrade maven publishing plugin to `v0.32.0`. - Change the `SonatypeHost` to point to `CENTRAL_PORTAL`.
This commit is contained in:
1 parent
64e27152c6
commit
8bc914a70f
2 files changed
+2
-2
No files matched your search
@@ -9,4 +9,4 @@ android_gradle_plugin = { module = "com.android.tools.build:gradle", version.ref
|
|||||||
|
|
||||||
[plugins]
|
[plugins]
|
||||||
android_library = { id = "com.android.library", version.ref = "android_gradle_plugin" }
|
android_library = { id = "com.android.library", version.ref = "android_gradle_plugin" }
|
||||||
maven_publish = { id = "com.vanniktech.maven.publish", version = "0.31.0" }
|
maven_publish = { id = "com.vanniktech.maven.publish", version = "0.32.0" }
|
||||||
@@ -27,7 +27,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mavenPublishing {
|
mavenPublishing {
|
||||||
publishToMavenCentral(SonatypeHost.S01, automaticRelease = true)
|
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, automaticRelease = true)
|
||||||
|
|
||||||
signAllPublications()
|
signAllPublications()
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user