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

Enable cross publishing for Scala 2.12 #119

Merged
merged 1 commit into from
Dec 8, 2016

Conversation

huntc
Copy link
Contributor

@huntc huntc commented Dec 7, 2016

Specifically excludes projects in the cross build that do not, or indeed will not support Scala 2.12.

I'm unsure if this is totally correct, but I can + test from the root project and it will compile/test correct for both 2.11 and 2.12. We won't know if the publish/release actually works until we try it, and this PR needs to be merged before that can happen.

sbt-doge is used to solve a cross building problem within sbt.

Copy link
Contributor

@fsat fsat left a comment

Choose a reason for hiding this comment

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

Lgtm, but I have a question. Would it be better to specify the scala version explicitly for each module, i.e.

crossScalaVersions := Seq("2.12.1", "2.11.8", "2.10.6")

@huntc
Copy link
Contributor Author

huntc commented Dec 8, 2016

#119 (review)

I think it is easier to declare it across the board and then tweak it as necessary - it should be the exception rather than the rule for a sub project to have special requirements.

@huntc
Copy link
Contributor Author

huntc commented Dec 8, 2016

The CI failed because of JDK 7 being used. Unfortunately JDK 7 is no longer suitable in order to run our tests ,even though the resultant artifacts are targeted at JDK 6. The reason for this is that we've had to start using the Akka 2.4 libraries so that we can cross compile 2.12 i.e. there's a trade.

I will enable the JDK 7 based testing only for the Akka 2.3 and Play 2.3 libraries now.

Specifically excludes projects in the cross build that do not, or indeed will not support Scala 2.12.
@huntc
Copy link
Contributor Author

huntc commented Dec 8, 2016

Had to remove the JDK 7 runtime entirely - just won't work for us given the necessity of the Akka 2.4 tests.

@huntc huntc merged commit d094667 into typesafehub:master Dec 8, 2016
@huntc huntc deleted the cross-build-2.12 branch December 8, 2016 00:58
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