From 6feb6acbdb453b80c00bb503690f175212ad5da6 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Sat, 5 Mar 2016 12:43:54 -0800 Subject: Add jcenter resolver --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'README.md') 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`: -- cgit v1.2.3