From 2c51f980bd19c97294fc8aeb852ac82f23968965 Mon Sep 17 00:00:00 2001 From: Michael Minella Date: Tue, 13 May 2014 08:18:22 -0500 Subject: [PATCH] Added check to not publish certian sub projects --- build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.gradle b/build.gradle index e63330f60..a5a93abc0 100644 --- a/build.gradle +++ b/build.gradle @@ -315,6 +315,7 @@ project('spring-batch-infrastructure') { project('spring-batch-core-tests') { description = 'Spring Batch Core Tests' + project.tasks.findByPath("artifactoryPublish")?.enabled = false dependencies { compile project(":spring-batch-core") compile "commons-dbcp:commons-dbcp:$commonsDdbcpVersion" @@ -349,6 +350,7 @@ project('spring-batch-core-tests') { project('spring-batch-infrastructure-tests') { description = 'Spring Batch Infrastructure Tests' + project.tasks.findByPath("artifactoryPublish")?.enabled = false dependencies { compile project(":spring-batch-infrastructure") compile "javax.jms:jms-api:1.1-rev-1" @@ -485,6 +487,7 @@ project('spring-batch-integration') { project('spring-batch-samples') { description = 'Batch Batch Samples' + project.tasks.findByPath("artifactoryPublish")?.enabled = false dependencies {