Release v1.6.2
plugins
- 🐛 Run Gradle tasks against all test task classpaths
The Gradle plugin hardcoded thetestsource set when building the inventory CLI classpath.
Projects whose approval tests live in another source set (e.g. a customintegrationTestJvmTestSuite) failed withClassNotFoundException, andapprovejCleanupcould delete valid approved files it was unable to resolve.
Theapprovej*tasks now run against the combined classpath of allTesttasks, so they work regardless of which source set holds the approval tests, with no extra configuration.
They also fail fast with an actionable message when the inventory CLI is missing from the classpath instead of surfacing a rawClassNotFoundException.
(#325)
Full Changelog: v1.6.1...v1.6.2