From 71fe45d4f3c3f685f6855a67fa30cf18afc82e16 Mon Sep 17 00:00:00 2001 From: Tim Nieradzik Date: Mon, 19 Mar 2018 14:01:21 +0100 Subject: [PATCH] Build: Use nativeVersion instead of version number --- README.md | 2 +- build.sbt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6570c8b..5aa32c5 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ addCompilerPlugin("org.scala-js" % "scalajs-compiler" % scalaJSVersion cross Cro ### Scala Native settings ```scala libraryDependencies := libraryDependencies.value.filterNot(_.name == "nscplugin") -addCompilerPlugin("org.scala-native" % "nscplugin" % "0.3.6" cross CrossVersion.patch) +addCompilerPlugin("org.scala-native" % "nscplugin" % nativeVersion cross CrossVersion.patch) ``` ### Dependencies diff --git a/build.sbt b/build.sbt index ef4d4ab..e34adb0 100644 --- a/build.sbt +++ b/build.sbt @@ -80,7 +80,7 @@ lazy val pine = crossProject(JSPlatform, JVMPlatform, NativePlatform) excludeFilter in Test := "*", libraryDependencies := libraryDependencies.value.filterNot(_.name == "nscplugin"), - addCompilerPlugin("org.scala-native" % "nscplugin" % "0.3.6" cross CrossVersion.patch), + addCompilerPlugin("org.scala-native" % "nscplugin" % nativeVersion cross CrossVersion.patch), // Not available for 2.12 yet scalaVersion := Scala2_11,