Skip to content

[7.x] Cross compile Scala code using Gradle variants (#1521) #1551

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

Merged
merged 1 commit into from
Nov 3, 2020

Conversation

jbaiera
Copy link
Member

@jbaiera jbaiera commented Nov 3, 2020

Backports the following commits to 7.x:

This PR introduces Gradle variants into the ES-Hadoop build in order to compile and test Scala code
across different Scala versions instead of recursively invoking the build from within itself. This PR
should allow us to upgrade to Scala 2.12 and above as well as newer versions of Spark without
breaking release artifact contracts outside of a major release.

Also included is the removal of the shared core source directories for the Spark integration. This
shared source has been refactored into a core project that is cross compiled for the supported
Spark and Scala versions used in the SQL integration.
# Conflicts:
#	spark/sql-13/build.gradle
#	spark/sql-20/build.gradle
@jbaiera jbaiera merged commit 98a2715 into elastic:7.x Nov 3, 2020
@jbaiera jbaiera deleted the backport/7.x/pr-1521 branch November 3, 2020 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant