Package io.github.huyz0.jzap.gradle
Class JzapPlugin
java.lang.Object
io.github.huyz0.jzap.gradle.JzapPlugin
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
Registers the
mutationTest and mutationTestDiff tasks.
The plugin resolves classpaths and toolchains and nothing else. Every decision about what a mutant is, which tests to run, and how to report belongs to the engine, which is why this file is short and is expected to stay short.
-
Field Details
-
EXTENSION_NAME
- See Also:
-
ANALYSE_TASK
- See Also:
-
DIFF_TASK
- See Also:
-
AGGREGATE_TASK
- See Also:
-
FROM_ENV
Environment variables supplying a diff range.For CI, which knows the base branch and cannot edit the build script to say so. Every other option is settable in the
jzapblock because it is a property of the project; the range is a property of the invocation, and is the one thing a pull-request build has to decide per run.- See Also:
-
TO_ENV
- See Also:
-
-
Constructor Details
-
JzapPlugin
public JzapPlugin()
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project project) - Specified by:
applyin interfaceorg.gradle.api.Plugin<org.gradle.api.Project>
-