Skip to content

Commit

Permalink
added OSSRH repo
Browse files Browse the repository at this point in the history
  • Loading branch information
cnorburn authored Sep 5, 2022
1 parent 70ccee2 commit f896438
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,16 @@ jacocoTestReport {

publishing {
repositories {
maven {
name = 'OSSRH'
def releasesRepoUrl = 'https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/'
def snapshotsRepoUrl = 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
credentials {
username = System.getenv('MAVEN_USERNAME')
password = System.getenv('MAVEN_PASSWORD')
}
}
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/casper-network/casper-java-sdk"
Expand Down

0 comments on commit f896438

Please sign in to comment.