Plugin 1.10.2.0
mannodermaus
released this
25 Jul 13:26
·
39 commits
to main
since this release
Note: This version of the android-junit5 plugin raises the minimum supported version of the Android Gradle Plugin from 7.0 to 8.0! If you are forced to stick to AGP 7.x, please refrain from updating to this version.
- JUnit 5.10.2
- Raise minimum supported versions for AGP and Gradle to 8.0.x and 8.0, respectively
- Allow overriding the version of the instrumentation libraries applied with the plugin
- Update Jacoco & instrumentation test DSLs of the plugin to use Gradle Providers for their input parameters (e.g.
instrumentationTests.enabled.set(true)
instead ofinstrumentationTests.enabled = true
) - Removed deprecated
integrityCheckEnabled
flag from the plugin DSL's instrumentation test options - Allow opt-in usage of extension library via the plugin's DSL
- Allow autoconfiguration of instrumentation libraries if Compose or JUnit 5 are found among the test/androidTest dependency lists
- Decouple discovery of instrumentation tests from Jupiter, allowing non-Jupiter test engines to be discovered as well
- Update lifecycle of instrumentation runner params to only be set once, instead of once per test
- Properly reported disabled dynamic tests to Android instrumentation
- Use new Variant API to register generated resource folder for instrumentation filters file