Commit 728491f6 authored by Stephanie Gawroriski's avatar Stephanie Gawroriski
Browse files

Do not run the test task, but if test is requested (such as by build) then run testHosted.

parent 13a6ccd6
......@@ -2,6 +2,7 @@
<project version="4">
<component name="CompilerConfiguration">
<profile default="true" name="Default" enabled="true" />
<profile name="Gradle Imported" enabled="true">
<outputRelativeToContentRoot value="true" />
<processorPath useClasspath="false">
......@@ -10,6 +10,7 @@
package cc.squirreljme.plugin.multivm;
import javax.inject.Inject;
import org.gradle.api.DefaultTask;
import org.gradle.api.Task;
import org.gradle.api.tasks.testing.Test;
......@@ -34,8 +35,13 @@ public class DefunctTestTask
this.setDescription("Defunct test task, relies on another test task.");
// Always runs
this.onlyIf(new AlwaysTrue());
// Never runs
this.onlyIf(new AlwaysFalse());
// Depend on testHosted since all of the tests are there and those
// may assume as such
// Make sure the task fails as quickly as possibles
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