diff options
author | Jakob Odersky <jakob@odersky.com> | 2017-08-26 16:16:42 -0700 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2017-08-26 16:16:42 -0700 |
commit | e841be9396ccb51806a7fe009134d6f04620f65a (patch) | |
tree | edb675e43cd0952073ea9c985772a765b51f95c5 /README.md | |
parent | 5487cbf3f78520f9414b60dd019fd4cd8dfa277e (diff) | |
download | sbt-jni-e841be9396ccb51806a7fe009134d6f04620f65a.tar.gz sbt-jni-e841be9396ccb51806a7fe009134d6f04620f65a.tar.bz2 sbt-jni-e841be9396ccb51806a7fe009134d6f04620f65a.zip |
Reword deprecation warning
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,9 @@ [![Build Status](https://travis-ci.org/jodersky/sbt-jni.svg?branch=master)](https://travis-ci.org/jodersky/sbt-jni) -[![Download](https://api.bintray.com/packages/jodersky/sbt-plugins/sbt-jni/images/download.svg?version=1.2.6)](https://bintray.com/jodersky/sbt-plugins/sbt-jni/1.2.6/link) -*This plugin is for sbt version 0.13. Checkout the `sbt-1` branch for a preview that supports sbt version 1.* +sbt version | plugin version +------------+--------------- +0.13.x | [![Download](https://api.bintray.com/packages/jodersky/sbt-plugins/sbt-jni/images/download.svg?version=1.2.6)](https://bintray.com/jodersky/sbt-plugins/sbt-jni/1.2.6/link) +1.0.x | [![Download](https://api.bintray.com/packages/jodersky/sbt-plugins/sbt-jni/images/download.svg)](https://bintray.com/jodersky/sbt-plugins/sbt-jni/_latestVersion) # sbt-jni @@ -136,7 +138,7 @@ This plugin packages native libraries produced by JniNative in a way that they c ```scala lazy val core = project in file("myproject-core"). // regular scala code with @native methods - dependsOn(native % Runtime) // remove this if `core` is a library, leave choice to end-user + dependsOnRun(native) // remove this if `core` is a library, leave choice to end-user lazy val native = project in file("myproject-native"). // native code and build script enablePlugin(JniNative) // JniNative needs to be explicitly enabled |