Skip to content

Commit f1c902a

Browse files
committed
Migrate to Sonatype Central Portal
1 parent 53a060d commit f1c902a

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/Build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@ jobs:
4949
needs: [jvm]
5050
runs-on: [ubuntu-latest]
5151
env:
52-
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
53-
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
54-
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.ARTIFACT_SIGNING_PRIVATE_KEY }}
52+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_CENTRAL_USERNAME }}
53+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_CENTRAL_PASSWORD }}
54+
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_SECRET_KEY }}
55+
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_SECRET_PASSPHRASE }}
5556

5657
steps:
5758
- name: Checkout

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ allprojects {
3131

3232
plugins.withId("com.vanniktech.maven.publish.base") {
3333
configure<MavenPublishBaseExtension> {
34-
publishToMavenCentral(SonatypeHost.DEFAULT, automaticRelease = true)
34+
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, automaticRelease = true)
3535
signAllPublications()
3636
pom {
3737
description.set("Typesafe DynamoDB in Kotlin")

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ kotlinxCoroutinesJdk8 = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-jdk
3939
kotlinxCoroutinesReactive = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-reactive", version = "1.6.4" }
4040
log4jCore = { module = "org.apache.logging.log4j:log4j-core", version = "2.17.1" }
4141
loggingApi = { module = "io.github.microutils:kotlin-logging", version = "2.0.10" }
42-
mavenPublishGradlePlugin = { module = "com.vanniktech:gradle-maven-publish-plugin", version = "0.28.0" }
42+
mavenPublishGradlePlugin = { module = "com.vanniktech:gradle-maven-publish-plugin", version = "0.31.0" }
4343
moshiCore = { module = "com.squareup.moshi:moshi", version = "1.15.2" }
4444
moshiKotlin = { module = "com.squareup.moshi:moshi-kotlin", version = "1.15.2" }
4545
nettyBom = { module = "io.netty:netty-bom", version = "4.1.79.Final" }

0 commit comments

Comments
 (0)