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
Hi, congratulations on the release and great job with the seed UX and documentation. I was able to get up and running in seconds. I have two questions:
How do I add a compiler plugin? For example, what is the equivalent of addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full) in sbt? A workaround is to manually download the jar and update scalaOptions
The text was updated successfully, but these errors were encountered:
olafurpg
changed the title
How to install compiler plugin and full-cross version Scala dependencies?
How to install compiler plugin and full cross-version Scala dependencies?
Jan 20, 2019
Thanks for positive feedback and bringing up these issues, @olafurpg!
How do I add a compiler plugin?
There is no syntax yet for defining compiler plug-ins. For the Scala.js and Scala Native, the logic was hard-coded. But for Macro Paradise and other plug-ins, we need a more generic approach such as:
Hi, congratulations on the release and great job with the
seed
UX and documentation. I was able to get up and running in seconds. I have two questions:addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full)
in sbt? A workaround is to manually download the jar and updatescalaOptions
scalaOptions = [ "-encoding", "UTF-8", "-unchecked", "-deprecation", "-Xfuture", + "-Xplugin:/Users/olafurpg/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scalamacros/paradise_2.12.8/2.1.1/paradise_2.12.8-2.1.1.jar" ]
javaDeps
like thisThe text was updated successfully, but these errors were encountered: