Tags: google/play-services-plugins
Tags
build(oss-licenses): upgrade to Gradle 9.4 and enable full build cach… …e support (#384) * fix(oss-licenses): resolve implicit dependency failures on Gradle 9.x Gradle 9.x identifies the custom LicensesCleanUpTask as a hard failure due to implicit dependency conflicts with generation tasks. Standard Gradle 'clean' (Delete) already handles the build directory idiomatically. - Removed LicensesCleanUpTask.groovy and its corresponding test. - Refactored EndToEndTest.kt to use a createRunner() helper with forwardOutput() and strict configuration cache validation. - Optimized parallel test execution by isolating TestKit directories per test class. - Updated build.gradle.kts with optimized heap settings and live test event logging. - Added .kotlin/ to .gitignore to prevent tracking of local metadata. Closes #356, #300, #299 * build(oss-licenses): upgrade to Gradle 9.4 and enable full build cache support This update modernizes the build environment and ensures task outputs are correctly cached and relocatable. - Upgraded Gradle wrapper to 9.4.0 in oss-licenses-plugin. - Added @CacheableTask, @nested, and @PathSensitive annotations to core tasks. - Implemented an automated relocatability test in EndToEndTest.kt. - Verified 100% parallel throughput with isolated TestKit directories. Closes #356 * test(oss-licenses): modernize test matrix to follow Stable/RC/Alpha tracks Updated the E2E test matrix to cover the latest AGP tracks: - Stable: AGP 9.0.1 - RC: AGP 9.1.0-rc01 - Alpha: AGP 9.2.0-alpha02 Also updated Kotlin version expectation logic to correctly handle AGP 9.1 and 9.2. * build(oss-licenses): increase Gradle daemon memory Increased Xmx to 2048m and MaxMetaspaceSize to 1024m to prevent daemon resets during intensive parallel E2E tests. * test(oss-licenses): ensure robust relocatability verification Refactored testRelocatability to use the setupProject helper, ensuring project structure consistency across cloned directories. * test(oss-licenses): ensure bulletproof relocatability verification Modified populate() in testRelocatability() to explicitly skip build/ and .gradle/ directories during copying. This guarantees that the relocated projects start from a pristine state, correctly verifying cache relocation instead of hitting UP-TO-DATE due to accidental output duplication.
Bumpd oss licenses plugin version to 0.10.10. (#359) Co-authored-by: Arco <arcoxu@google.com>
Bumpd oss licenses plugin version to 0.10.9. (#341) Co-authored-by: Arco Xu <arcoxu@google.com>
Merge pull request #242 from google/config_cache Add call to notCompatibleWithConfigurationCache to LicensesTask
Merge pull request #216 from google/agp Switch to using app dependency report from Android Gradle Plugin.
Merge pull request #173 from google/oss-licenses-issue-172 Add oss-licenses-plugin support for dependency cycles in projects
Merge pull request #169 from caller9/gradle_7_compat Make oss-licenses-plugin compatible with Gradle 7
Merge pull request #128 from google/missing_dependencies Missing dependencies
PreviousNext