No changes, created to fix issues with Github pages
- Enhanced compatibility with Gradle 8.x
- Enhanced compatibility with Gradle 8.x
- Compatibility with Gradle 7.2
- Update publishing to push to Gradle Plugin Portal directly
- Change CI/CD to Github Actions
- Restore original location of Clover reports for multi-project use case when cloverAggregateReports is executed.
-
Dropped compatibility with Gradle 4.6 and older, the plugin version 2.2.5 will be the last one supporting these releases of Gradle. ========================================
-
Made Clover instrumentation cacheable and corrected the incremental compilation of large projects.
-
Fixed issues with ClassLoader failing to load Clover classes in multi-project configurations.
-
Fix re-instrument and recompile every single source file - Issue 118
- Add sourceCompatibility override to solve OpenClover limit and fallback to 1.3 Java compatibility
- Fix HTML Reporter throwing NPE - Issue 146
- Fix Vulnerable version of Jackson bind dependency - Issue 142
- Fix Documentation - regex for log - Issue 121
- Fix Console reporter - Issue 117
- Fix ncLineCount column gives error - Issue 135
- Fix Does this plugin work with JUnit5? - Issue 79
- Fix When Clover is disabled eliminate recompilation of sources during test task execution - Issue 112
- Fix Support for JDK 9 & 10 - Issue 119
- Fix ClassNotFoundException for CloverCompilerAdapter when using OpenClover 4.3.1 on a Java project - Issue 125
- Fix @CompileStatic and safe navigation operator fails cloverGenerateReport task - Issue 127
- Fix Running on Gradle 5.2 throws a NoClassDefFoundError - Issue 126
Thanks to contribution from community member Søren Berg Glasius we have the fix to Issue 127
- Fix NPE with Android Plugin - Issue 111
Gradle 4.x compatibility release
-
Add support for Gradle 4.x - Issue 91
Migrated all code to work on Gradle 4.4.1. Solved the issues with the new language specific classes directories by completing the work to solve the joint Groovy/Java compile.
-
Avoid Joint Compilation of Java Sources by Groovy Compiler- Issue 55
From now on the expectation is that code in groovy directories will be compiled using the Groovy compiler for both Java and Groovy code colocated. Java code in a java directory will be compiled using the Java compiler. Previously when Groovy was installed all code was compiled with Groovy without care.
-
Use TestKit for defining and executing functional tests- Issue 80
Enabled the use of Gradle TestKit for functional testing. This eliminated the dependency on arcane logic in the build.gradle files that set plugin classpaths in weird ways.
-
Automate release process following gradle-docker-plugin scheme- Issue 96
The changes to include the refined Gradle build logic from the Docker plugin were integrated. We should have a semi-automatic release process now based on tag pushing.
Other changes:
Removed the support for Clover license. Only support OpenClover.
Cleaned up the Java test code in all functional test data projects to use Junit 4 annotations instead of Junit 3.
- Fix compileOnly dependencies aren't properly added to classpath - Issue 99
- Fix Grails 3 project fails to find Groovyc class - Issue 89
- Fix Make compilerArgs configurable - Issue 98
- Fix Plugin version 2.1.2 does not work with Gradle 2.x - Issue 94
New features
-
Support columns detail for Clover reports - Issue 93
See the documentation in README.md for the new usage.
-
Fix Add **/*Spec.groovy to default clover.testIncludes - Issue 90
-
Fix Tests fail due to differences in polish characters - Issue 92
New features
-
Generate Clover instrumented JAR files
-
Clover Historical Reports are now supported
-
Grails 3 is now officially supported by this plugin
See the documentation in README.md for the new usage.
-
Fix Grails 3 tests not executed - Issue 75
-
Fix Support for Clover history - Issue 5
-
Fix Generate JARs with instrumented classes - Issue 33
-
Fix
licenseLocation
is enforced even when using OpenClover - Issue 85
Potentially breaking changes in clover convention mapping. See the documentation in README.md for the new usage.
additionalSourceDirs
: was replaced byadditionalSourceSets
additionalTestDirs
: was replaced byadditionalTestSourceSets
New properties supported in method context filtering.
See the documentation in README.md for the new usage.
maxComplexity
: Filter by cyclomatic complexity.maxStatements
: Filter by statements.maxAggregatedComplexity
: Filter by aggregated complexity.maxAggregatedStatements
: Filter by aggregated statements.
Support rules based exception handling with JUnit4. JUnit4 tests using @Rules based exception expectations would appear as not having a result in previous versions. Additional properties in the report closure support the propagation of the test results from the JUnit XML to the Clover report for completeness. See the documentation in README.md for the new usage.
testResultsDir
: Specifies the location of the JUnit4 test results XML report.testResultsInclude
: Ant file Glob pattern to select Junit4 test results (defaults to TEST-*.xml).
Fixes and enhancements
- Upgrade project to use latest Gradle version (3.5) - Issue 81
- Fix Gradle 3.0 support - Issue 76
- Fix
maxComplexity
of methodContext is not supported by plugin - Issue 42 - Fix JUnit4 rules based exception results reporting
- Allow plugin to be applied in an afterEvaluate listener
- Added support for the newly released OpenClover 4.2.0 - Issue 83.
- Fix Java project with groovy tests can't find groovyc - Issue 59.
- Fix License issues in multi-project config - Issue 66.
- Fix Support
instrumentLambda
Clover property - Issue 62. - Fix java is not compiled with debug info - Issue 51.
- Fix
additionalTestDirs
adds sourceSet to test sourceSet - Issue 11. - Added ability to exclude certain test patterns via
testExcludes
- Pull request 74
- Changed log level from
warn
toinfo
if project doesn't have source code - Pull Request 49.
- Upgrade to Gradle Wrapper 2.1.
- Changed package name to
com.bmuschko.gradle.clover
. - Changed group ID to
com.bmuschko
. - Adapted plugin IDs to be compatible with Gradle's plugin portal.
- Expose compiler encoding and executable of underlying Ant task - Pull Request 47.
- Expose property through DSL for disabling code instrumation and coverage reporting - Issue 37.
- Fix aggregation step on sub-project containing no tests - Issue 34.
- Apply filter for report aggregation task - Issue 40.
- Upgrade to Clover 3.2.0.
- Upgrade to Gradle Wrapper 1.10.
- Publish to Bintray instead of Maven Central.
- Context filters not applied to 'clover-check' task. - Pull Request 35.
- Fix AggregateReportsTask String coercion - Issue 31.
- Fix deprecation warnings - Issue 29.
- Remove dependency on project.configurations.groovy (Gradle 1.4+) - Issue 23.
- Upgrade to Gradle Wrapper 1.7.
- Coercing GStrings into Strings - Pull Request 30.
- Allow to apply Clover plugin before applying Java plugin - Issue 24.
- Support multiple Test tasks per project - Issue 25.
- Allow usage of Clover plugin for projects where not all subprojects have the plugin applied to them - Issue 26.
- Added support for test optimization - Pull Request 20.
- Upgrade to Clover 3.1.10.
- Upgrade to Gradle Wrapper 1.4.
- Correctly evaluate
targetPercentage
convention property - Issue 16.
- Resolve Clover Ant task definitions only using the
clover
configuration.
- Original classes directory didn't get restored correctly - Issue 12.
- The task
cloverAggregateReports
depends oncloverGenerateReport
- Issue 13. - Upgrade to Gradle Wrapper 1.0-m9.
- Make root project not automatically apply Java plugin - Issue 4.
- Support for custom source sets - Issue 8.
- Allowing HTML to report on per-test coverage.
- Compilation of Java/Groovy classes is not forked anymore.
- Support for multi-module projects.
- Support for Java/Groovy joint compilation.
- Code coverage include/excludes.
- More convention properties to configure Clover.
- Context filters for exlcuding code blocks from report.
- Configurable JSON code coverage report.
- Task for aggregating coverage reports.
- Bug fixes.
- Initial release.