fix(oss-licenses): resolve implicit dependency failures on Gradle 9.x#383
Merged
Conversation
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
xyarco
approved these changes
Mar 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR resolves critical build failures in Gradle 9.x caused by the redundant
LicensesCleanUpTask.Key Technical Changes
LicensesCleanUpTask, which conflicted with generation tasks for control of the build directory—a state Gradle 9.x now correctly identifies as a hard failure. Standardcleanlogic now handles this idiomatically.EndToEndTest.ktto include acreateRunner()helper. This helper enables:problems=fail.cleanoperation, ensuring no regressions in plugin performance..kotlin/to.gitignoreto prevent local Kotlin metadata from being tracked.Related Issues
Closes #356
Closes #300
Closes #299