palantir / spark

Palantir Distribution of Apache Spark
Apache License 2.0
67 stars 51 forks source link

[SPARK-21708][BUILD] Migrate build to sbt 1.x #759

Closed LorenzoMartini closed 3 years ago

LorenzoMartini commented 3 years ago

Original PR description

Migrate sbt-launcher URL to download one for sbt 1.x. Update plugins versions where required by sbt update. Change sbt version to be used to latest released at the moment, 1.3.13 Adjust build settings according to plugins and sbt changes.

Migration to sbt 1.x:

  1. enhances dev experience in development
  2. updates build plugins to bring there new features/to fix bugs in them
  3. enhances build performance on sbt side
  4. eases movement to Scala 3 / dotty

No.

All existing tests passed, both on Jenkins and via Github Actions, also manually for Scala 2.13 profile.

Closes #29286 from gemelen/feature/sbt-1.x.

Authored-by: Denis Pyshev git@gemelen.net Signed-off-by: Dongjoon Hyun dhyun@apple.com

Upstream SPARK-XXXXX ticket and PR link (if not applicable, explain)

[SPARK-21708][BUILD] Migrate build to sbt 1.x Commit: https://github.com/apache/spark/commit/6daa2aeb0164277088396102897b2ea4426b9f1c PR: https://github.com/apache/spark/pull/29286

What changes were proposed in this pull request?

Bump sbt version to 1.x.

There are a few non-trivial changes related to versions. First of all the original PR was introduced on top of spark 3.1 so we had to adapt a few things for it to work on top of spark 3.0

Why are the changes needed?

The SBT bump is needed because:

Does this PR introduce any user-facing change?

No