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

Scala3: Improve exclusion rules and DRY pprint dependency #2835

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

lolgab
Copy link
Contributor

@lolgab lolgab commented Sep 4, 2023

Problem

The quill-util misses some classes which makes it unusable standalone with Scala 3 without providing the missing dependencies.

Solution

Manually add the Scala 3 version of the excluded libraries.
Also adds the pprint dependency only where used so it's not added to all modules

@getquill/maintainers

Use same version of scala-collection-compat everywhere
Dry usages of pprint
@lolgab lolgab force-pushed the fix-pprint-and-exclusions branch from e546119 to 6711859 Compare September 4, 2023 13:12
@lolgab
Copy link
Contributor Author

lolgab commented Sep 6, 2023

@guizmaii This PR is a follow-up to #2834 to clean up the dependencies of pprint and scalafmt-core, especially when used from Scala 3.

@guizmaii guizmaii merged commit adae6d7 into zio:master Sep 6, 2023
@guizmaii guizmaii changed the title Improve exclusion rules and DRY pprint dependency Scala3: Improve exclusion rules and DRY pprint dependency Sep 6, 2023
@guizmaii
Copy link
Member

guizmaii commented Sep 6, 2023

Thanks for your work @lolgab! ❤️

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