Class CoveragePlugin
java.lang.Object
com.xenoterracide.gradle.convention.coverage.CoveragePlugin
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
Coverage Plugin. Applies
JavaBasePlugin, JacocoPlugin and configures coverage tasks.
It is designed to work if multiple JvmTestSuite tasks are applied.
It forces 90% coverage to each project by default, but can be configured with the CoveragePluginExtension,
e.g. coverage { minimum.set(0.3) }.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CoveragePlugin
public CoveragePlugin()
-
-
Method Details
-
apply
public void apply(@NonNull org.gradle.api.Project project) - Specified by:
applyin interfaceorg.gradle.api.Plugin<org.gradle.api.Project>
-