Skip to content

Commit

Permalink
now we are able to publish to sonatype and close repository successfully
Browse files Browse the repository at this point in the history
  • Loading branch information
cesar roman committed Jan 23, 2024
1 parent 71bfcca commit d3ae019
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ plugins {
id("io.github.gradle-nexus.publish-plugin") version "1.3.0"
}

group = "io.embrace"
version = project.properties.version

// load credentials from local properties if present
def localProperties = new Properties()
def localPropertiesFile = rootProject.file("local.properties")
Expand All @@ -34,7 +37,7 @@ nexusPublishing {
sonatype {
username = System.getenv("SONATYPE_USERNAME") ?: localProperties.ossrhUsername
password = System.getenv("SONATYPE_PASSWORD") ?: localProperties.ossrhPassword
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local"))
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
}
}
}
Expand Down

0 comments on commit d3ae019

Please sign in to comment.