Skip to content

Commit

Permalink
R2 (#39)
Browse files Browse the repository at this point in the history
* updated version

* ingore run.sh

* release attempt

* added stacktrace

* tried to fix build

* updated version

* fix build
  • Loading branch information
RichardHightower authored Jul 15, 2023
1 parent 5eb770c commit 72e6c0c
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,8 @@ if (isMerge || isRelease) {
nexusPublishing {
repositories {
sonatype {
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"))
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
//repositoryUrl.set(uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"))
username = System.getenv('OSSRH_USERNAME')
password = System.getenv('OSSRH_PASSWORD')
}
Expand All @@ -100,14 +99,14 @@ if (isMerge || isRelease) {
}

publishing {
repositories {
maven {
// change URLs to point to your repos, e.g. http://my.org/repo
def releasesRepoUrl = uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/")
def snapshotsRepoUrl = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
}
}
// repositories {
// maven {
// // change URLs to point to your repos, e.g. http://my.org/repo
// def releasesRepoUrl = uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/")
// def snapshotsRepoUrl = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
// url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
// }
// }
publications {
mavenJava(MavenPublication) {
from components.java
Expand Down

0 comments on commit 72e6c0c

Please sign in to comment.