diff --git a/samples/boot/build.gradle b/samples/boot/build.gradle index bdd0c201..f049ca95 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 1e16d18b..217db865 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 5634a07d..089cf107 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 eb7ac46e..df33c28e 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 44455611..1e30c0aa 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 44455611..1e30c0aa 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 34c71550..4020fd4a 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 c42bbba3..d53f1dbd 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 6731f287..4abc020a 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'