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

Use servicetalk-dependencies BOM internally #2217

Merged
merged 6 commits into from
May 17, 2022

Conversation

bondolo
Copy link
Contributor

@bondolo bondolo commented May 16, 2022

Motivation:
The new dependencies BOM introduced in #2210 can be used to improve
the management of external dependencies by reducing use of explicit
versions within the module build.gradle files.
Modification:
Use dependencies BOM for every module which includes api or
implementation external dependencies. The BOM is imported as api
platform only in cases where the external dependency is also imported
api. implementation platform is used in cases where the external
dependencies are only implementation dependencies themselves.
Result:
Fewer explicit version specifications and better managed dependency
versioning.

Motivation:
The new `dependencies` BOM introduced in apple#2210 can be used to improve
the management of external dependencies by reducing use of explicit
versions within the module `build.gradle` files.
Modification:
Use `dependencies` BOM for every module which includes `api` or
`implementation` external dependencies. The BOM is imported as `api`
platform only in cases where the external dependency is also imported
`api`. `implementation` platform is used in cases where the external
dependencies are only `implementation` dependencies themselves.
Result:
Fewer explicit version specifications and better managed dependency
versioning.
@bondolo bondolo added the enhancement New feature or request label May 16, 2022
@bondolo bondolo self-assigned this May 16, 2022
@bondolo
Copy link
Contributor Author

bondolo commented May 16, 2022

This PR includes only changes for artifact producing configurations, it does not include use of the servicetalk-dependencies BOM for testImplementation or testImplementationFixtures which are separate scopes–the BOM will need to be imported specifically for those scopes to be used, the changes here have no effect on those configurations.

@bondolo bondolo mentioned this pull request May 16, 2022
servicetalk-log4j2-mdc-utils/build.gradle Outdated Show resolved Hide resolved
servicetalk-test-resources/build.gradle Outdated Show resolved Hide resolved
servicetalk-dependencies/build.gradle Outdated Show resolved Hide resolved
@bondolo bondolo merged commit 0f0f86e into apple:main May 17, 2022
@bondolo bondolo deleted the use-dependencies-bom branch May 17, 2022 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants