You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to cross compile an SBT multi-project against different Spark and Hadoop versions, and have developed a possible solution that works with sbt-release. Borrowing the vocab introduced by sbt-cross plugin, Spark & Hadoop are the two "axes" for cross compilation.
The crossProjects add-on iterates over a list of sub-projects and crossReleaseSteps iterates over a list of settings to be cross compiled. In this example both are combined but it is possible to use them independently.
There are two additional settings to be set. For example, if there are 3 sub-projects and two axes for cross compilation:
I need to cross compile an SBT multi-project against different Spark and Hadoop versions, and have developed a possible solution that works with
sbt-release
. Borrowing the vocab introduced bysbt-cross
plugin, Spark & Hadoop are the two "axes" for cross compilation.The release process looks like the following:
The
crossProjects
add-on iterates over a list of sub-projects andcrossReleaseSteps
iterates over a list of settings to be cross compiled. In this example both are combined but it is possible to use them independently.There are two additional settings to be set. For example, if there are 3 sub-projects and two axes for cross compilation:
I tried integrating
sbt-cross
andsbt-release
together but could not make it work. Therefore I developed these add-ons forsbt-release
Would the
sbt-release
project be interested in adding the above features tosbt-release
? I would be happy to prepare a PR.The text was updated successfully, but these errors were encountered: