Skip to content

Fix IllegalResolutionException in UnusedDependencyExcludeRule for Gradle 9.x#437

Merged
rpalcolea merged 1 commit into
mainfrom
fix-UnusedDependencyExcludeRule
Sep 25, 2025
Merged

Fix IllegalResolutionException in UnusedDependencyExcludeRule for Gradle 9.x#437
rpalcolea merged 1 commit into
mainfrom
fix-UnusedDependencyExcludeRule

Conversation

@rpalcolea

Copy link
Copy Markdown
Member

Replace project.configurations.create() with detachedConfiguration() and use thread-safe resolutionResult API instead of resolvedConfiguration to avoid "Resolution of the configuration was attempted without an exclusive lock" errors introduced in Gradle 9.x.

@rpalcolea rpalcolea merged commit be797ed into main Sep 25, 2025
10 checks passed
@rpalcolea rpalcolea deleted the fix-UnusedDependencyExcludeRule branch September 25, 2025 16:30
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.

2 participants