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

Add support for Scala Native 0.4.0 and cross-publish native for 2.11/2.12/2.13 #298

Merged
merged 1 commit into from
Jan 22, 2021

Conversation

gabro
Copy link
Member

@gabro gabro commented Jan 20, 2021

Blocked by Scalacheck support typelevel/scalacheck#751

Base automatically changed from master to main January 20, 2021 08:13
@gabro gabro force-pushed the native-0.4 branch 3 times, most recently from fb84b52 to 8199f09 Compare January 20, 2021 08:31
SettingKey[Boolean]("scalaJSUseMainModuleInitializer").?.value.isDefined
)
val isScalaNative = Def.setting[Boolean](
SettingKey[String]("nativeGC").?.value.isDefined
Copy link
Member Author

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
Copy link
Member Author

Choose a reason for hiding this comment

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

🎉

Copy link
Member

@olafurpg olafurpg left a 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 😄

@gabro
Copy link
Member Author

gabro commented Jan 22, 2021

Scalacheck has been backpublished, relaunching the CI to see whether it's ok now!

@gabro gabro marked this pull request as ready for review January 22, 2021 15:48
@gabro
Copy link
Member Author

gabro commented Jan 22, 2021

Full steam ahead 🚢

@gabro gabro merged commit ed2c414 into main Jan 22, 2021
@gabro gabro deleted the native-0.4 branch January 22, 2021 15:49
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