diff options
author | Jakob Odersky <jakob@odersky.com> | 2016-03-05 12:43:54 -0800 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2016-03-05 12:43:54 -0800 |
commit | 6feb6acbdb453b80c00bb503690f175212ad5da6 (patch) | |
tree | 43989d6131a774257b7aa7d4e7004ab7c4ea73cd /README.md | |
parent | cf0ed978cfe5d1ea0d44c8a5cee1ca2ca77e23df (diff) | |
download | sbt-jni-6feb6acbdb453b80c00bb503690f175212ad5da6.tar.gz sbt-jni-6feb6acbdb453b80c00bb503690f175212ad5da6.tar.bz2 sbt-jni-6feb6acbdb453b80c00bb503690f175212ad5da6.zip |
Add jcenter resolver
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -26,9 +26,11 @@ A project using this suite of plugins must be divided into two sub-projects, cor The reason for dividing a project into two subprojects is two-fold: it enables flexible plugging of native sources and also integrates easily into the existing maven ecosystem. Adding the native binaries as additional artifacts has issues with scala versioning. ## Usage -Add plugin dependency. In `project/plugins.sbt`: +Add jcenter resolver and plugin dependency. In `project/plugins.sbt`: ```scala -addSbtPlugin("ch.jodersky" % "sbt-jni" % "0.4.2") +resolvers += Resolver.jcenterRepo + +addSbtPlugin("ch.jodersky" % "sbt-jni" % "0.4.3") ``` Define sub-projects for JVM and native sources. In `myproject/build.sbt`: |