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

Combine version strings for multi-module dependencies #233

Merged
merged 3 commits into from
Nov 4, 2022

Conversation

dbwiddis
Copy link
Member

@dbwiddis dbwiddis commented Nov 4, 2022

Signed-off-by: Daniel Widdis widdis@gmail.com

Description

Reduces the noise of dependabot updates by only having a single version to update.

Issues Resolved

Fixes #229

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@dbwiddis dbwiddis requested a review from a team November 4, 2022 19:11
Signed-off-by: Daniel Widdis <widdis@gmail.com>
@owaiskazi19
Copy link
Member

Should we keep a variable for implementation "org.apache.lucene:lucene-core:9.4.0-snapshot-ddf0d0a"?

build.gradle Outdated Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
Signed-off-by: Daniel Widdis <widdis@gmail.com>
@dbwiddis
Copy link
Member Author

dbwiddis commented Nov 4, 2022

Should we keep a variable for implementation "org.apache.lucene:lucene-core:9.4.0-snapshot-ddf0d0a"?

My usual preference is to have all versions as separate properties.

My fix commit crossed paths with your comments -- do you want me to change all dependencies in the file to the same format?

Signed-off-by: Daniel Widdis <widdis@gmail.com>
@owaiskazi19
Copy link
Member

owaiskazi19 commented Nov 4, 2022

My fix commit crossed paths with your comments -- do you want me to change all dependencies in the file to the same format?

Looks like you already did. Looks clean now!

Copy link
Member

@owaiskazi19 owaiskazi19 left a comment

Choose a reason for hiding this comment

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

Thanks for formatting this!

@joshpalis joshpalis self-requested a review November 4, 2022 19:52
Copy link
Member

@joshpalis joshpalis left a comment

Choose a reason for hiding this comment

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

Thanks Dan!

@dbwiddis dbwiddis merged commit dc5528e into opensearch-project:main Nov 4, 2022
@dbwiddis dbwiddis deleted the combineVersions branch November 4, 2022 19:58
kokibas pushed a commit to kokibas/opensearch-sdk-java that referenced this pull request Mar 17, 2023
…ject#233)

* Combine version strings for multi-module dependencies

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Need double quotes to evaluate substitutions in Groovy

Signed-off-by: Daniel Widdis <widdis@gmail.com>

* Unify format for all dependencies

Signed-off-by: Daniel Widdis <widdis@gmail.com>

Signed-off-by: Daniel Widdis <widdis@gmail.com>
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.

[FEATURE] Don't duplicate dependency versions in build.gradle
3 participants