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

Update to Gradle 8.5 #58

Merged
merged 2 commits into from
Jan 11, 2024
Merged

Conversation

reta
Copy link
Contributor

@reta reta commented Jan 5, 2024

Description

Update to Gradle 8.5

Issues Resolved

Part of opensearch-project/OpenSearch#10334

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.

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
@reta reta force-pushed the update.gradle.8.5 branch from 4e88970 to 43fa07d Compare January 5, 2024 21:27
@reta reta marked this pull request as ready for review January 5, 2024 21:27
}
}
testRuntimeClasspath("org.slf4j:slf4j-api") {
implementation("com.oracle.oci.sdk:oci-java-sdk-common:${sdk_version}")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Those are not new dependencies, all of them were brought in transitively

Copy link
Collaborator

Choose a reason for hiding this comment

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

Hi @reta , curious why the preference to explicitly pin the versions as oppose to the above that will pull them transitively?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@samuel-oci so the transitive dependencies are not pulled (the opensearch.plugin Gradle plugin alters that), the reason they were pulled before is because the use of xxxRuntimeClasspath / xxxCompileClasspath scopes - those are not allowed anymore (in Gradle)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Got it, thanks @reta approved.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@samuel-oci do you mind approving the workflow? seems like few checks need to be run, thank you

Copy link
Collaborator

Choose a reason for hiding this comment

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

done

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Apologies, @samuel-oci may I ask you to approve one more time (fixed build issue), thank you

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
@sam-herman sam-herman merged commit ac66ced into opensearch-project:main Jan 11, 2024
9 of 11 checks passed
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