Skip to content

Commit

Permalink
Build: Use nativeVersion instead of version number
Browse files Browse the repository at this point in the history
  • Loading branch information
tindzk committed Mar 19, 2018
1 parent 86d82ba commit 71fe45d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 71fe45d

Please sign in to comment.