diff options
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | project/SbtJniBuild.scala | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -28,7 +28,7 @@ The second point, portability, is inherent to JNI and thus unavoidable. However All plugins are made available with the following sbt configuration ```scala -addSbtPlugin("ch.jodersky" % "sbt-jni" % "1.0.0-RC1") +addSbtPlugin("ch.jodersky" % "sbt-jni" % "1.0.0-RC2") ``` in `project/plugins.sbt`. @@ -114,7 +114,7 @@ Since this plugin is basically a command-line wrapper, native build tools must f An initial, compatible build template can be obtained by running `sbt nativeInit <tool>`. Once the native build tool initialised, projects are built by calling the `sbt nativeCompile` task. Source and output directories are configurable -``` +```scala sourceDirectory in nativeCompile := sourceDirectory.value / "native", target in nativeCompile := target.value / "native" / (nativePlatform).value, ``` diff --git a/project/SbtJniBuild.scala b/project/SbtJniBuild.scala index 2749ef4..f4c8dd1 100644 --- a/project/SbtJniBuild.scala +++ b/project/SbtJniBuild.scala @@ -14,7 +14,7 @@ object SbtJniBuild extends Build { val macrosParadiseVersion = "2.1.0" val commonSettings = Seq( - version := "1.0.1-SNAPSHOT", + version := "1.0.0-RC2", organization := "ch.jodersky", licenses := Seq(("BSD New", url("http://opensource.org/licenses/BSD-3-Clause"))), scalacOptions ++= Seq("-deprecation", "-feature"), |