Skip to content

Commit

Permalink
Enabled automated releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Szczepan Faber committed Mar 22, 2021
1 parent ca7c17e commit ac74ff7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ tasks.named("githubRelease") {
nexusPublishing {
repositories {
if (System.getenv("NEXUS_TOKEN_PWD")) {
sonatype {
sonatype { // Publishing to: https://s01.oss.sonatype.org (faster instance)
nexusUrl = uri("https://s01.oss.sonatype.org/service/local/")
snapshotRepositoryUrl = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")

username = System.getenv("NEXUS_TOKEN_USER")
password = System.getenv("NEXUS_TOKEN_PWD")
}
Expand Down

0 comments on commit ac74ff7

Please sign in to comment.