Disable artifactoryPublish for projects without artifacts

This commit is contained in:
Rob Winch 2012-12-12 18:04:10 -06:00
parent f1ae9da55e
commit 102da87080

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"
}