nexus-staging-plugin is applied only in root project

This commit is contained in:
Marcin Zajaczkowski
2015-09-03 00:09:48 +02:00
parent 0129666047
commit 9a5afb849d
2 changed files with 7 additions and 6 deletions

View File

@@ -27,6 +27,13 @@ allprojects {
project.version = scmVersion.version
}
apply plugin: 'io.codearte.nexus-staging'
nexusStaging {
packageGroup = "io.codearte"
stagingProfileId = '93c08fdebde1ff'
}
subprojects {
apply plugin: 'groovy'
apply from: "$rootDir/gradle/release.gradle"

View File

@@ -1,5 +1,4 @@
apply plugin: 'com.bmuschko.nexus'
apply plugin: 'io.codearte.nexus-staging'
modifyPom {
project {
@@ -38,8 +37,3 @@ modifyPom {
}
uploadArchives.dependsOn { check }
nexusStaging {
packageGroup = "io.codearte"
stagingProfileId = '93c08fdebde1ff'
}