Move from OSSRH to Maven Central

This commit is contained in:
Erik C. Thauvin 2025-06-30 21:28:48 -07:00
parent b882d68d4c
commit c9523752ae
Signed by: erik
GPG key ID: 776702A6A2DA330E
4 changed files with 7 additions and 7 deletions

View file

@ -4,8 +4,8 @@ on:
workflow_dispatch:
env:
ORG_GRADLE_PROJECT_ossrhUsername: ${{ secrets.OSSRH_USERNAME}}
ORG_GRADLE_PROJECT_ossrhPassword: ${{ secrets.OSSRH_PASSWORD}}
ORG_GRADLE_PROJECT_centralUsername: ${{ secrets.CENTRAL_USERNAME}}
ORG_GRADLE_PROJECT_centralPassword: ${{ secrets.CENTRAL_PASSWORD}}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGN_SECRET_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGN_SECRET_PWD }}

View file

@ -4,7 +4,7 @@ plugins {
}
group = "net.thauvin.erik.urlencoder"
version = "1.6.0"
version = "1.6.1-SNAPSHOT"
dependencies {
kover(projects.urlencoderLib)

View file

@ -6,7 +6,7 @@ dependencies {
implementation("com.github.ben-manes:gradle-versions-plugin:0.51.0")
implementation("io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.7")
implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.9.20")
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.24")
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.25")
implementation("org.jetbrains.kotlinx:kover-gradle-plugin:0.8.3")
implementation("org.apache.httpcomponents:httpclient:4.5.13")
}

View file

@ -57,12 +57,12 @@ publishing {
repositories {
maven(
if (isSnapshotVersion()) {
uri("https://oss.sonatype.org/content/repositories/snapshots/")
uri("https://central.sonatype.com/repository/maven-snapshots/")
} else {
uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
uri("https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/")
}
) {
name = "ossrh"
name = "central"
credentials(PasswordCredentials::class)
}
}