Skip to content

fix: remove redundant LicensesCleanUpTask to fix implicit dependencies on Gradle 9.x#377

Closed
timothyfroehlich wants to merge 2 commits intomake-tasks-cacheablefrom
fix-clean-task
Closed

fix: remove redundant LicensesCleanUpTask to fix implicit dependencies on Gradle 9.x#377
timothyfroehlich wants to merge 2 commits intomake-tasks-cacheablefrom
fix-clean-task

Conversation

@timothyfroehlich
Copy link
Member

@timothyfroehlich timothyfroehlich commented Mar 9, 2026

Based on PR #378

Chain of upstream PRs & tree of downstream PRs as of 2026-03-10

Gradle 9.x promotes "Implicit Dependencies" to a hard failure. This occurred when running combined commands like ./gradlew clean test (or any command combining cleanup and build tasks), because the custom LicensesCleanUpTask and the generation tasks both touched the same directory without a declared relationship.

Since the generated files reside within the build/ directory, the standard Gradle clean task already handles their deletion. This PR removes the redundant cleanup logic entirely, simplifying the plugin and resolving the validation error.

Closes #356, #300, #299.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant