Skip to content

Commit

Permalink
Fix publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
ansman committed Jan 26, 2023
1 parent a3f8c9e commit 5e08964
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gradle-plugin/src/main/kotlin/library.publishing.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ val publishing: PublishingExtension = extensions.getByType()
with(publishing) {
repositories.maven {
name = "mavenCentral"
setUrl("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
setUrl("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/")
credentials {
username = providers.gradleProperty("sonatype.username")
.orElse(providers.environmentVariable("SONATYPE_USERNAME"))
Expand All @@ -71,7 +71,7 @@ with(publishing) {

repositories.maven {
name = "sonatypeSnapshots"
setUrl("https://oss.sonatype.org/content/repositories/snapshots/")
setUrl("https://s01.oss.sonatype.org/content/repositories/snapshots/")
credentials {
username = providers.gradleProperty("sonatype.username")
.orElse(providers.environmentVariable("SONATYPE_USERNAME"))
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ kapt.include.compile.classpath=false

android.useAndroidX = true

version = 0.1.0
version = 0.1.0-SNAPSHOT
latestRelease = 0.1.0

0 comments on commit 5e08964

Please sign in to comment.