Skip to content

Commit

Permalink
make same as main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
cnorburn authored Sep 5, 2022
1 parent 5674963 commit 17153b7
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ plugins {
id 'jacoco'
id 'signing'
id 'maven-publish'
id('io.github.gradle-nexus.publish-plugin') version '1.1.0'
}

apply plugin: 'java'

group = 'network.casper'
version='0.5.2-SNAPSHOT'
sourceCompatibility = 1.8
Expand Down Expand Up @@ -125,16 +128,6 @@ 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 17153b7

Please sign in to comment.