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

[ML] Upgrade Gradle to v5.0 #325

Merged
merged 1 commit into from
Dec 4, 2018

Conversation

droberts195
Copy link
Contributor

Needs to be merged before elastic/elasticsearch#34263 to
prevent builds with ml-cpp in elasticsearch-extra from
failing.

Defining a custom wrapper task was incompatible with
Gradle 5, so this is replaced with a modification to the
built in wrapper task.

The Gradle Wrapper is also upgraded to the latest version.

Needs to be merged before elastic/elasticsearch#34263 to
prevent builds with ml-cpp in elasticsearch-extra from
failing.

Defining a custom wrapper task was incompatible with
Gradle 5, so this is replaced with a modification to the
built in wrapper task.

The Gradle Wrapper is also upgraded to the latest version.
Copy link

@alpar-t alpar-t left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for taking care of this.
You might want to run ./gradlew wrapper again and commit the results,
I think that will update the wrapper jar. The first call updates the version, then the new version generates a new wrapper jar.

@droberts195
Copy link
Contributor Author

@atorok I think the wrapper jar is already updated to the correct version in this PR - search for "Binary file not shown" on the "Files changed" tab. The change in file size is different to elastic/elasticsearch#34263, but I think that's because the previous version of Gradle being used was different between the two repos.

Just in case I ran ./gradlew wrapper again on my PR branch and it didn't update the wrapper jar again.

@droberts195 droberts195 merged commit cd0b0aa into elastic:master Dec 4, 2018
@droberts195 droberts195 deleted the upgrade_gradle branch December 4, 2018 09:09
droberts195 added a commit to droberts195/ml-cpp that referenced this pull request Dec 4, 2018
Needs to be merged before elastic/elasticsearch#34263 to
prevent builds with ml-cpp in elasticsearch-extra from
failing.

Defining a custom wrapper task was incompatible with
Gradle 5, so this is replaced with a modification to the
built in wrapper task.

The Gradle Wrapper is also upgraded to the latest version.
droberts195 added a commit that referenced this pull request Dec 4, 2018
Needs to be merged before elastic/elasticsearch#34263 to
prevent builds with ml-cpp in elasticsearch-extra from
failing.

Defining a custom wrapper task was incompatible with
Gradle 5, so this is replaced with a modification to the
built in wrapper task.

The Gradle Wrapper is also upgraded to the latest version.

Backport of #325
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants