Skip to content

Commit 87497c5

Browse files
build: adopt vanniktech 0.37 publishToMavenCentral API
vanniktech maven-publish 0.37.0 removed the SonatypeHost enum (Central Portal is now the default host). Drop the import and call publishToMavenCentral(automaticRelease = false) without the host argument, so the build script compiles under 0.37. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 52c7596 commit 87497c5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

build.gradle.kts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import com.vanniktech.maven.publish.SonatypeHost
2-
31
plugins {
42
`java-library`
53
jacoco
@@ -194,7 +192,7 @@ spotless {
194192
// - ORG_GRADLE_PROJECT_signingInMemoryKey / _signingInMemoryKeyPassword
195193
// (optionally _signingInMemoryKeyId)
196194
mavenPublishing {
197-
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, automaticRelease = false)
195+
publishToMavenCentral(automaticRelease = false)
198196
signAllPublications()
199197

200198
coordinates(group.toString(), "marketdata-sdk-java", version.toString())

0 commit comments

Comments
 (0)