Last active
February 1, 2017 11:03
-
-
Save neowinx/2026d4024babb6b0cdef66600594b37f to your computer and use it in GitHub Desktop.
Improving SBT dependency resolution
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Let's accelerate sbt reosuluion dependency | |
# diclaimer: This wont work for sbt >= 1.* | |
mkdir -p ~/.sbt/0.13/plugins/ | |
echo 'addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M15")' > ~/.sbt/0.13/plugins/build.sbt | |
curl -L -o coursier https://git.io/vgvpD && chmod +x coursier | |
./coursier fetch -r "ivy:https://repo.typesafe.com/typesafe/ivy-releases/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]" com.typesafe.activator:activator-launcher:1.3.12 | |
mkdir -p ~/.ivy2/cache | |
cp -vr ~/.coursier/cache/v1/https/repo.typesafe.com/typesafe/ivy-releases/* ~/.ivy2/cache/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment