Skip to content

Commit

Permalink
Use gradle-nexus-staging-plugin to workaround https://issues.sonatype…
Browse files Browse the repository at this point in the history
  • Loading branch information
penemue committed Mar 8, 2018
1 parent 2474975 commit 54a8d4c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ buildscript {
}

plugins {
id "com.github.hierynomus.license" version "0.14.0"
id 'com.github.hierynomus.license' version '0.14.0'
id 'io.codearte.nexus-staging' version '0.11.0'
}

group = 'org.jetbrains.xodus'
Expand Down Expand Up @@ -163,6 +164,14 @@ subprojects {

afterEvaluate { project ->
if (shouldDeploy(project)) {

nexusStaging {
username = mavenPublishUsername
password = mavenPublishPassword
delayBetweenRetriesInMillis = 30000
stagingProfileId = "89ee7caa6631c4"
}

uploadArchives {
repositories {
mavenDeployer {
Expand All @@ -177,7 +186,7 @@ subprojects {
name 'Xodus'
description 'Xodus is pure Java transactional schema-less embedded database'
packaging 'jar'
url 'http://jetbrains.github.io/xodus'
url 'https://github.com/JetBrains/xodus'

scm {
url 'https://github.com/JetBrains/xodus'
Expand Down

0 comments on commit 54a8d4c

Please sign in to comment.