From e4f80e68fcb78044406cd596c6ebe33aeb82dfca Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Fri, 12 May 2017 14:39:47 +0100 Subject: [PATCH] Do not run Gradle plugin's tests when built with -DskipTests Closes gh-9169 --- .../spring-boot-gradle-plugin/pom.xml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/spring-boot-tools/spring-boot-gradle-plugin/pom.xml b/spring-boot-tools/spring-boot-gradle-plugin/pom.xml index e398467e89b..a1dfc94a5a5 100644 --- a/spring-boot-tools/spring-boot-gradle-plugin/pom.xml +++ b/spring-boot-tools/spring-boot-gradle-plugin/pom.xml @@ -18,6 +18,7 @@ ${basedir}/../.. ./gradlew + build @@ -56,7 +57,7 @@ ${gradle.executable} clean - build + ${gradle.task} -Pversion=${project.version} -Pdescription=${project.description} @@ -113,6 +114,18 @@ gradlew.bat + + skipTests + + + skipTests + true + + + + assemble + + full