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

Don't rely on global SCALA_VERSION in BUILD files, use select instead #1564

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

aszady
Copy link
Contributor

@aszady aszady commented Mar 28, 2024

Description

The second part (after #1559) of eliminating dependencies on SCALA_VERSION. This time within target attributes. Together with #1560 we should be all done.

This change extensively uses the new select_for_scala_version macro (#1563).
I tried my best to emerge the most correct intention, but in many cases the choice is rather arbitrary (e.g. any_2 + any_3 vs. before_3 + since_3 vs. any_2 + default)

Motivation

#1290.

@aszady aszady marked this pull request as ready for review April 22, 2024 22:13
@liucijus liucijus merged commit f4f3d9c into bazelbuild:master Apr 24, 2024
2 checks passed
@liucijus
Copy link
Collaborator

Thanks, @aszady!

@aszady aszady deleted the select-build branch April 24, 2024 08:05
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.

3 participants