Skip to content

cross compile 2.10, 2.11 and 2.12 #24

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

Closed

Conversation

MasseGuillaume
Copy link
Contributor

No description provided.

if (Set("2.11", "2.12.0-RC2").contains(scalaBinaryVersion.value))
Seq(baseDirectory.value / ".." / "shared" / "src" / "main" / "scala-2.11_2.12")
else
Seq()
Copy link
Contributor Author

@MasseGuillaume MasseGuillaume Oct 23, 2016

Choose a reason for hiding this comment

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

with the new scala-js plugin it's built-in. we have to specify the directory for 2.11 and 2.12 since it's unconventional

Seq(
"org.scala-lang" % "scala-reflect" % version % "provided",
"org.scala-lang" % "scala-compiler" % version % "provided"
) ++
(if (version startsWith "2.10.")
Seq(compilerPlugin("org.scalamacros" % s"paradise" % "2.0.0" cross CrossVersion.full),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I hope this bump does not break anything.

@MasseGuillaume MasseGuillaume mentioned this pull request Oct 23, 2016
@MasseGuillaume
Copy link
Contributor Author

@MasseGuillaume MasseGuillaume deleted the cross-compile-2.12 branch October 23, 2016 15:19
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.

1 participant