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

Update AccessTransformer DSL to use new Dependencies DSL to match DependencyHandler #168

Merged
merged 1 commit into from
May 13, 2024

Conversation

lukebemish
Copy link
Contributor

@lukebemish lukebemish commented May 13, 2024

Between when my PR for the AT DSL was opened and when it was merged, DependencyHandler was updated to use gradle's new Dependencies DSL system, which allows it to support version catalogs natively. This PR enables the same behavior for the AT DSL, which requires using DependencyCollectors in it -- due to NG's non-lazy-ification of every single named configuration, this means that the dependency collectors can't actually be added to the configuration until afterEvaluate, but this is probably fine. Similar to the changes for NG's DependencyHandler, this should not break buildscripts as the notation is the same, it's just expanded to make use of gradle's full typesafe dependency API.

@neoforged-pr-publishing
Copy link

  • Publish PR to GitHub Packages

@marchermans marchermans merged commit f034de3 into neoforged:NG_7.0 May 13, 2024
29 checks passed
@lukebemish lukebemish deleted the ats-version-catalogs branch May 13, 2024 20:58
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