Commit e4f80e68 authored by Andy Wilkinson's avatar Andy Wilkinson

Do not run Gradle plugin's tests when built with -DskipTests

Closes gh-9169
parent 47807b89
......@@ -18,6 +18,7 @@
<properties>
<main.basedir>${basedir}/../..</main.basedir>
<gradle.executable>./gradlew</gradle.executable>
<gradle.task>build</gradle.task>
</properties>
<dependencies>
<dependency>
......@@ -56,7 +57,7 @@
<executable>${gradle.executable}</executable>
<arguments>
<argument>clean</argument>
<argument>build</argument>
<argument>${gradle.task}</argument>
<argument>-Pversion=${project.version}</argument>
<argument>-Pdescription=${project.description}</argument>
</arguments>
......@@ -113,6 +114,18 @@
<gradle.executable>gradlew.bat</gradle.executable>
</properties>
</profile>
<profile>
<id>skipTests</id>
<activation>
<property>
<name>skipTests</name>
<value>true</value>
</property>
</activation>
<properties>
<gradle.task>assemble</gradle.task>
</properties>
</profile>
<profile>
<id>full</id>
<build>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment