Skip to content

Commit

Permalink
Add sonartype repositories (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
StefMa authored Nov 25, 2023
1 parent ac1cc5a commit f1b1e10
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,19 @@ publishing {
password = project.findProperty("githubPackagesKey") as? String
}
}
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") {
name = "SonatypeSnapshot"
credentials {
username = System.getenv("SONATYPE_USER")
password = System.getenv("SONATYPE_PASSWORD")
}
}
maven("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/") {
name = "SonatypeStaging"
credentials {
username = System.getenv("SONATYPE_USER")
password = System.getenv("SONATYPE_PASSWORD")
}
}
}
}

0 comments on commit f1b1e10

Please sign in to comment.