diff --git a/docs/install.md b/docs/install.md index 626f53e8..a0ad8a93 100644 --- a/docs/install.md +++ b/docs/install.md @@ -6,23 +6,15 @@ title: Getting Rainier To add Rainier to your project include the following in your `build.sbt`: ```scala +resolvers += Resolver.bintrayRepo("rainier", "maven") libraryDependencies += "com.stripe" %% "rainier-core" % "@VERSION@" ``` Or, in [Ammonite](https://ammonite.io/), import it like this: ```scala +interp.repositories() ++= Seq(coursierapi.MavenRepository.of("https://dl.bintray.com/rainier/maven")) import $ivy.`com.stripe::rainier-core:@VERSION@` ``` -For plotting and exploratory work, we suggest [Using Jupyter](jupyter.md). - -## Non-release versions - -Tagged commits will result in non-release artifacts pushed to `https://dl.bintray.com/rainier/maven`. - -You can include these in your projects using - -```scala -resolvers += Resolver.bintrayRepo("rainier", "maven") -``` \ No newline at end of file +For plotting and exploratory work, we suggest [Using Jupyter](jupyter.md). \ No newline at end of file diff --git a/docs/jupyter.md b/docs/jupyter.md index e2bf08cd..a70453b8 100644 --- a/docs/jupyter.md +++ b/docs/jupyter.md @@ -13,6 +13,7 @@ Specifically, this script installs a kernel that: * Uses Scala 2.12, which is currently the only version `rainier-notebook` is available for * Uses Almond 0.9.0, which seems to currently be more reliable than the latest release +* Includes the `https://dl.bintray.com/rainier/maven` repository * Includes the `https://dl.bintray.com/cibotech/public` repository, which is needed for the [EvilPlot](https://cibotech.github.io/evilplot/) dependency * Configures the kernel with a custom id, name, and logo @@ -37,6 +38,7 @@ If you are not using the custom kernel installer, make sure to use the `Scala 2. ```scala interp.repositories() ++= Seq( + coursierapi.MavenRepository.of("https://dl.bintray.com/rainier/maven"), coursierapi.MavenRepository.of("https://dl.bintray.com/cibotech/public"), coursierapi.MavenRepository.of("https://jitpack.io/") ) diff --git a/install-kernel.sh b/install-kernel.sh index 9d7c60c2..ef4ff516 100755 --- a/install-kernel.sh +++ b/install-kernel.sh @@ -10,6 +10,7 @@ chmod +x /tmp/coursier /tmp/almond --install \ -f --id rainier -N "Rainier (Scala 2.12)" \ --extra-repository "https://dl.bintray.com/cibotech/public" \ + --extra-repository "https://dl.bintray.com/rainier/maven" \ --extra-repository "https://jitpack.io" \ --logo $PWD/logo.png \ No newline at end of file