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

Add better version catalog support for dialects #3435

Merged

Conversation

dellisd
Copy link
Collaborator

@dellisd dellisd commented Aug 12, 2022

Fixes #3237

Gradle does a lot of special handling for version catalogs, so I don't think there's any good way to avoid doing that in the plugin as well.

Whether we want to specially handle the case where someone hands a dependency bundle to the dialect is another question.

@JakeWharton
Copy link
Member

We need a fixture test for this.

I recently added support for type safe project references and type safe dependency references to another project and I didn't have to change anything. However, my line to add the dependency is in this form:

project.dependencies.add(configuration.name, theDependencyAnyReferenceHere)

Add integration test for version catalogs
Copy link
Member

@JakeWharton JakeWharton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@AlecKazakova
Copy link
Collaborator

hype!

@AlecKazakova
Copy link
Collaborator

It looks like some of the other integration tests are failing now?

@AlecKazakova AlecKazakova merged commit 66d432c into cashapp:master Aug 12, 2022
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.

dialect DSL does not support version catalogs (without get())
3 participants