Skip to content

Commit fad05bf

Browse files
author
motorro
committed
Maven publications config update
1 parent bb0ce8a commit fad05bf

File tree

5 files changed

+4
-36
lines changed

5 files changed

+4
-36
lines changed

.idea/misc.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* limitations under the License.
1212
*/
1313

14-
@file:Suppress("EXPERIMENTAL_API_USAGE", "DSL_SCOPE_VIOLATION")
14+
@file:Suppress("EXPERIMENTAL_API_USAGE")
1515

1616
import org.jetbrains.dokka.Platform
1717
import org.jetbrains.dokka.gradle.DokkaTask
@@ -105,8 +105,8 @@ val displayVersion by tasks.registering(Jar::class) {
105105
nexusPublishing {
106106
repositories {
107107
sonatype {
108-
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
109-
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
108+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
109+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots"))
110110
username.set(project.extra["ossrhUsername"].toString())
111111
password.set(project.extra["ossrhPassword"].toString())
112112
}

deeplink/build.gradle.kts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -126,17 +126,6 @@ val javadocJar by tasks.registering(Jar::class) {
126126
}
127127

128128
publishing {
129-
repositories {
130-
maven {
131-
name = "sonatype"
132-
url = URI("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/")
133-
credentials {
134-
username = ossrhUsername
135-
password = ossrhPassword
136-
}
137-
}
138-
}
139-
140129
publications.withType<MavenPublication> {
141130
artifact(javadocJar)
142131
pom {

push/build.gradle.kts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -124,17 +124,6 @@ val javadocJar by tasks.registering(Jar::class) {
124124
}
125125

126126
publishing {
127-
repositories {
128-
maven {
129-
name = "sonatype"
130-
url = URI("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/")
131-
credentials {
132-
username = ossrhUsername
133-
password = ossrhPassword
134-
}
135-
}
136-
}
137-
138127
publications.withType<MavenPublication> {
139128
artifact(javadocJar)
140129
pom {

uri/build.gradle.kts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -124,17 +124,6 @@ val javadocJar by tasks.registering(Jar::class) {
124124
}
125125

126126
publishing {
127-
repositories {
128-
maven {
129-
name = "sonatype"
130-
url = URI("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/")
131-
credentials {
132-
username = ossrhUsername
133-
password = ossrhPassword
134-
}
135-
}
136-
}
137-
138127
publications.withType<MavenPublication> {
139128
artifact(javadocJar)
140129
pom {

0 commit comments

Comments
 (0)