Move from OSSRH to Maven Central
This commit is contained in:
parent
b882d68d4c
commit
c9523752ae
4 changed files with 7 additions and 7 deletions
|
@ -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")
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue