Skip to content

Commit

Permalink
Merge pull request #257 from jamesmudd/sonatype-publish
Browse files Browse the repository at this point in the history
#250 Start switching away from Bintray/JCenter
  • Loading branch information
jamesmudd authored Feb 14, 2021
2 parents 79c855a + ed68019 commit 4c0396c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion jhdf/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ compileTestJava {
}

repositories {
jcenter()
mavenCentral()
}

ext {
Expand Down Expand Up @@ -173,6 +173,14 @@ publishing {
password = System.getenv('GITHUB_TOKEN')
}
}
maven {
name = 'Sonatype'
url "https://oss.sonatype.org/service/local/staging/deploy/maven2"
credentials {
username System.getenv('SONATYPE_USERNAME')
password System.getenv('SONATYPE_PASSWORD')
}
}
}
}

Expand Down

0 comments on commit 4c0396c

Please sign in to comment.