-
Notifications
You must be signed in to change notification settings - Fork 91
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
Add support for Scala Native 0.4.0 and cross-publish native for 2.11/2.12/2.13 #298
Conversation
fb84b52
to
8199f09
Compare
SettingKey[Boolean]("scalaJSUseMainModuleInitializer").?.value.isDefined | ||
) | ||
val isScalaNative = Def.setting[Boolean]( | ||
SettingKey[String]("nativeGC").?.value.isDefined |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nativeGC
is now a TaskKey
so we can't depend on it to produce a Setting
.
Since this was only used to set the unmanagedSourceDirectories
below, I've moved the relevant setting down to nativeSettings
and jsSettings
so we don't need isScalaNative
and isScalaJS
anymore
@@ -116,8 +110,7 @@ val sharedJSConfigure: Project => Project = | |||
_.disablePlugins(MimaPlugin) | |||
val sharedNativeSettings: List[Def.Setting[_]] = List( | |||
skipIdeaSettings, | |||
scalaVersion := scala211, | |||
crossScalaVersions := List(scala211) | |||
crossScalaVersions := scala2Versions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 It's awesome to have Scala Native back in action 😄
Scalacheck has been backpublished, relaunching the CI to see whether it's ok now! |
Full steam ahead 🚢 |
Blocked by Scalacheck support typelevel/scalacheck#751