What's Changed
Fixes
- Gradle mirrors init script is now compatible with Gradle Isolated Projects — the Robolectric block configured Test tasks across every project via
getRootProject().allprojects, which Gradle rejects underorg.gradle.unsafe.isolated-projects=truewithProject ':' cannot access 'Project.tasks' functionality on subprojects via 'allprojects'. The redirect is registered per project inbeforeProjectinstead (#442, SSW-3090) beforeProjectrather thanafterProjectkeeps project-levelrobolectric.dependency.repo.urloverrides working.configureEachactions run in registration order, so registering after the build script would have made the mirror the last writer and silently overridden a project setting the property itself (#442)roboProbesis suffixed per mirror, matching the existingcanBeMirrored/useMirrorconvention — a secondUseAsRobolectricRepoentry would otherwise emit two conflicting declarations in one scope and fail to compile the init script (#442)- The Robolectric classpath probe takes the
Testtask from thedoFirstreceiver instead of capturing it, removing a configuration-cache serialization hazard that Isolated Projects builds would hit (#442)
Gradle verification
For reference, the verification metadata is available as an attached asset.
Changelog
Gradle verification
For reference, the verification metadata is available as an attached assset.