File tree Expand file tree Collapse file tree 5 files changed +4
-36
lines changed
Expand file tree Collapse file tree 5 files changed +4
-36
lines changed Original file line number Diff line number Diff line change 1111 * limitations under the License.
1212 */
1313
14- @file:Suppress(" EXPERIMENTAL_API_USAGE" , " DSL_SCOPE_VIOLATION " )
14+ @file:Suppress(" EXPERIMENTAL_API_USAGE" )
1515
1616import org.jetbrains.dokka.Platform
1717import org.jetbrains.dokka.gradle.DokkaTask
@@ -105,8 +105,8 @@ val displayVersion by tasks.registering(Jar::class) {
105105nexusPublishing {
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 }
Original file line number Diff line number Diff line change @@ -126,17 +126,6 @@ val javadocJar by tasks.registering(Jar::class) {
126126}
127127
128128publishing {
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 {
Original file line number Diff line number Diff line change @@ -124,17 +124,6 @@ val javadocJar by tasks.registering(Jar::class) {
124124}
125125
126126publishing {
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 {
Original file line number Diff line number Diff line change @@ -124,17 +124,6 @@ val javadocJar by tasks.registering(Jar::class) {
124124}
125125
126126publishing {
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 {
You can’t perform that action at this time.
0 commit comments