Disable artifactoryPublish for projects without artifacts

This commit is contained in:
Rob Winch 2012-12-12 18:04:10 -06:00
parent 22e333b9c6
commit 2e8a61660d
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@ ext.itestProjects = subprojects.findAll { project -> project.name.startsWith('it
ext.coreModuleProjects = javaProjects - sampleProjects - itestProjects
ext.aspectjProjects = [project(':spring-security-aspects'), project(':spring-security-samples-aspectj')]
configure(subprojects - coreModuleProjects) {
tasks.findByPath("artifactoryPublish")?.enabled = false
}
configure(javaProjects) {
apply from: "$rootDir/gradle/javaprojects.gradle"
}