aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzczepan Faber <s.faber@airbnb.com>2021-03-20 19:30:02 -0500
committerSzczepan Faber <s.faber@airbnb.com>2021-03-22 09:41:02 -0500
commit6c7aeaf4e362b75a7a206e98eb051b98c2dc2933 (patch)
tree280084b9cdb5db9ff8c420b06c235ceea7786f67
parentca7c17e5013b1777cb3c51dd69d99de8bc163412 (diff)
downloadmockito-kotlin-6c7aeaf4e362b75a7a206e98eb051b98c2dc2933.tar.gz
Enabled automated releases
-rw-r--r--build.gradle6
1 files changed, 5 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 39b0f65..4ee6ca3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -34,12 +34,16 @@ tasks.named("githubRelease") {
githubToken = System.getenv("GITHUB_TOKEN")
newTagRevision = System.getenv("GITHUB_SHA")
releaseTag = project.version
+ releaseName = project.version
}
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")
}