diff --git a/samples/boot/build.gradle b/samples/boot/build.gradle index bdd0c20..f049ca9 100644 --- a/samples/boot/build.gradle +++ b/samples/boot/build.gradle @@ -10,8 +10,7 @@ buildscript { apply plugin: 'spring-boot' apply from: JAVA_GRADLE - -tasks.findByPath("artifactoryPublish")?.enabled = false +apply from: SAMPLE_GRADLE group = 'samples' diff --git a/samples/findbyusername/build.gradle b/samples/findbyusername/build.gradle index 1e16d18..217db86 100644 --- a/samples/findbyusername/build.gradle +++ b/samples/findbyusername/build.gradle @@ -10,8 +10,7 @@ buildscript { apply plugin: 'spring-boot' apply from: JAVA_GRADLE - -tasks.findByPath("artifactoryPublish")?.enabled = false +apply from: SAMPLE_GRADLE group = 'samples' diff --git a/samples/grails3/build.gradle b/samples/grails3/build.gradle index 5634a07..089cf10 100644 --- a/samples/grails3/build.gradle +++ b/samples/grails3/build.gradle @@ -19,6 +19,7 @@ apply plugin:"war" apply plugin:"org.grails.grails-web" apply plugin:"org.grails.grails-gsp" apply plugin:"asset-pipeline" +apply from: SAMPLE_GRADLE ext { grailsVersion = project.grailsVersion diff --git a/samples/httpsession-gemfire-clientserver/build.gradle b/samples/httpsession-gemfire-clientserver/build.gradle index eb7ac46..df33c28 100644 --- a/samples/httpsession-gemfire-clientserver/build.gradle +++ b/samples/httpsession-gemfire-clientserver/build.gradle @@ -1,12 +1,7 @@ apply from: JAVA_GRADLE apply from: TOMCAT_7_GRADLE apply plugin: "application" - -tasks.findByPath("artifactoryPublish")?.enabled = false - -sonarqube { - skipProject = true -} +apply from: SAMPLE_GRADLE dependencies { compile project(':spring-session-data-gemfire'), diff --git a/samples/httpsession-gemfire-p2p-xml/build.gradle b/samples/httpsession-gemfire-p2p-xml/build.gradle index 4445561..1e30c0a 100644 --- a/samples/httpsession-gemfire-p2p-xml/build.gradle +++ b/samples/httpsession-gemfire-p2p-xml/build.gradle @@ -1,11 +1,6 @@ apply from: JAVA_GRADLE apply from: TOMCAT_7_GRADLE - -tasks.findByPath("artifactoryPublish")?.enabled = false - -sonarqube { - skipProject = true -} +apply from: SAMPLE_GRADLE dependencies { compile project(':spring-session-data-gemfire'), diff --git a/samples/httpsession-gemfire-p2p/build.gradle b/samples/httpsession-gemfire-p2p/build.gradle index 4445561..1e30c0a 100644 --- a/samples/httpsession-gemfire-p2p/build.gradle +++ b/samples/httpsession-gemfire-p2p/build.gradle @@ -1,11 +1,6 @@ apply from: JAVA_GRADLE apply from: TOMCAT_7_GRADLE - -tasks.findByPath("artifactoryPublish")?.enabled = false - -sonarqube { - skipProject = true -} +apply from: SAMPLE_GRADLE dependencies { compile project(':spring-session-data-gemfire'), diff --git a/samples/httpsession-jdbc-boot/build.gradle b/samples/httpsession-jdbc-boot/build.gradle index 34c7155..4020fd4 100644 --- a/samples/httpsession-jdbc-boot/build.gradle +++ b/samples/httpsession-jdbc-boot/build.gradle @@ -10,8 +10,7 @@ buildscript { apply plugin: 'spring-boot' apply from: JAVA_GRADLE - -tasks.findByPath("artifactoryPublish")?.enabled = false +apply from: SAMPLE_GRADLE group = 'samples' diff --git a/samples/mongo/build.gradle b/samples/mongo/build.gradle index c42bbba..d53f1db 100644 --- a/samples/mongo/build.gradle +++ b/samples/mongo/build.gradle @@ -10,8 +10,7 @@ buildscript { apply plugin: 'spring-boot' apply from: JAVA_GRADLE - -tasks.findByPath("artifactoryPublish")?.enabled = false +apply from: SAMPLE_GRADLE group = 'samples' diff --git a/samples/websocket/build.gradle b/samples/websocket/build.gradle index 6731f28..4abc020 100644 --- a/samples/websocket/build.gradle +++ b/samples/websocket/build.gradle @@ -11,8 +11,7 @@ apply plugin: 'spring-boot' apply from: JAVA_GRADLE apply from: TOMCAT_7_GRADLE - -tasks.findByPath("artifactoryPublish")?.enabled = false +apply from: SAMPLE_GRADLE group = 'samples'