Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lock plugin uses dependency substitution #129

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

OdysseusLives
Copy link
Member

  • Use com.netflix.nebula:gradle-dependency-lock-plugin:10.2.0-rc.1 which assists with core alignment

    This version of the lock plugin uses resolutionStrategy.dependencySubstitution.substitute instead of resolutionStrategy.eachDependency

    See: https://github.com/nebula-plugins/gradle-dependency-lock-plugin/releases/tag/v10.2.0-rc.1

  • Add a substitution and alignment test that uses resolutionStrategy.dependencySubstitution rather than details.useVersion

    Versions set with details.useVersion will add to conflict resolution for core alignment whereas versions set with resolutionStrategy.dependencySubstitution will have this constraint applied to aligned platforms when using core alignment.

  • Align rules and locking plugin interaction tests with locked and unlocked of resolution rules

…h assists with core alignment

This version of the lock plugin uses resolutionStrategy.dependencySubstitution.substitute instead of resolutionStrategy.eachDependency

See: https://github.com/nebula-plugins/gradle-dependency-lock-plugin/releases/tag/v10.2.0-rc.1
…pendencySubstitution rather than details.useVersion

Versions set with details.useVersion will add to conflict resolution for core aligment whereas versions set with resolutionStrategy.dependencySubstitution will have this constraint applied to aligned platforms when using core alignment.
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