Skip to content

add new Gradle rule for detecting usage of DependendencySubstitutions.all()#45

Merged
wakingrufus merged 1 commit into
mainfrom
dep-sub-all
Apr 27, 2026
Merged

add new Gradle rule for detecting usage of DependendencySubstitutions.all()#45
wakingrufus merged 1 commit into
mainfrom
dep-sub-all

Conversation

@wakingrufus

Copy link
Copy Markdown
Member

Calling DependencySubstitutions.all causes the configuration to be resolved at task graph calculation time due to the possibility of project substitutions there. Instead, use DefaultDependencySubstitutions.addSubstitution or ResolutionStrategy.eachDependency.

@wakingrufus
wakingrufus marked this pull request as ready for review April 22, 2026 15:24
@wakingrufus
wakingrufus merged commit 1ba1e78 into main Apr 27, 2026
3 checks passed
@wakingrufus
wakingrufus deleted the dep-sub-all branch April 27, 2026 19:52
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