Skip to content

Commit 86e7c1c

Browse files
committed
add maven publish script
1 parent 1f56f2d commit 86e7c1c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

library/publish-mavencentral.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ afterEvaluate {
6060
scm {
6161
connection = 'scm:git:git://github.com/chayanforyou/AndroidImageSlider.git'
6262
developerConnection = 'scm:git:ssh://github.com:chayanforyou/AndroidImageSlider.git'
63-
url = 'https://github.com/chayanforyou/AndroidImageSlider.git'
63+
url = 'https://github.com/chayanforyou/AndroidImageSlider'
6464
}
6565
}
6666
}
@@ -69,8 +69,8 @@ afterEvaluate {
6969
maven {
7070
name = "sonatype"
7171

72-
def releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
73-
def snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots/"
72+
def releasesRepoUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
73+
def snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
7474
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
7575

7676
credentials {
@@ -82,7 +82,7 @@ afterEvaluate {
8282
}
8383

8484
signing {
85-
useInMemoryPgpKeys(signingKey, signingPassword)
85+
//useInMemoryPgpKeys(signingKey, signingPassword)
8686
sign publishing.publications
8787
}
8888
}

0 commit comments

Comments
 (0)