Skip to content

Commit

Permalink
Merge pull request #2 from JabRef/testRelease
Browse files Browse the repository at this point in the history
Upate urls
  • Loading branch information
Siedlerchr authored Jul 25, 2024
2 parents 89168bb + d32c9f8 commit 4e7ab3e
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -85,29 +85,6 @@ publishing {
}
}
}
repositories {
maven {
name = "OSSRH"
def releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2"
def snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots"
url = isReleaseVersion ? releasesRepoUrl : snapshotsRepoUrl
credentials {
username = System.getenv("MAVEN_USERNAME")
password = System.getenv("MAVEN_PASSWORD")
}
}
// This currently only works for released versions, as github has problems with overwriting snapshots
if (isReleaseVersion) {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/tobiasdiez/EasyBind"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}
}

signing {
Expand Down

0 comments on commit 4e7ab3e

Please sign in to comment.