Skip to content

Commit 2420224

Browse files
authored
Upgrade to latest maven publish plugin (#440)
Signed-off-by: Philip K. Warren <[email protected]>
1 parent 60dcb0e commit 2420224

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import com.vanniktech.maven.publish.MavenPublishBaseExtension
2-
import com.vanniktech.maven.publish.SonatypeHost
32
import org.jetbrains.dokka.gradle.DokkaTask
43
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
54
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
@@ -124,7 +123,7 @@ subprojects {
124123
plugins.withId("com.vanniktech.maven.publish.base") {
125124
configure<MavenPublishBaseExtension> {
126125
val isAutoReleased = project.hasProperty("signingInMemoryKey")
127-
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, automaticRelease = true)
126+
publishToMavenCentral(automaticRelease = true)
128127
if (isAutoReleased) {
129128
signAllPublications()
130129
}

gradle.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=1g -XX:+HeapDumpOnOutOfMemoryErro
55
# For gradle-maven-publish plugin: https://vanniktech.github.io/gradle-maven-publish-plugin/central/
66
SONATYPE_CONNECT_TIMEOUT_SECONDS=300
77
SONATYPE_CLOSE_TIMEOUT_SECONDS=900
8-
# SONATYPE_HOST=S01 for publishing through s01.oss.sonatype.org
98
RELEASE_SIGNING_ENABLED=true
109
skipAndroid=false
1110
android.nonTransitiveRClass=false

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dokka = "2.0.0"
66
junit = "4.13.2"
77
kotlin = "2.1.21"
88
kotlinpoet = "2.2.0"
9-
mavenplugin = "0.33.0"
9+
mavenplugin = "0.34.0"
1010
moshi = "1.15.2"
1111
okhttp = "4.12.0"
1212
okio = "3.14.0"

0 commit comments

Comments
 (0)