aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2016-03-05 12:43:54 -0800
committerJakob Odersky <jakob@odersky.com>2016-03-05 12:43:54 -0800
commit6feb6acbdb453b80c00bb503690f175212ad5da6 (patch)
tree43989d6131a774257b7aa7d4e7004ab7c4ea73cd
parentcf0ed978cfe5d1ea0d44c8a5cee1ca2ca77e23df (diff)
downloadsbt-jni-6feb6acbdb453b80c00bb503690f175212ad5da6.tar.gz
sbt-jni-6feb6acbdb453b80c00bb503690f175212ad5da6.tar.bz2
sbt-jni-6feb6acbdb453b80c00bb503690f175212ad5da6.zip
Add jcenter resolver
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 4abec53..c638157 100644
--- a/README.md
+++ b/README.md
@@ -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`: