Skip to content

Instantly share code, notes, and snippets.

@2m
Last active September 6, 2019 05:48
Show Gist options
  • Save 2m/0244719dc9134e820675b5e5205a1e09 to your computer and use it in GitHub Desktop.
Save 2m/0244719dc9134e820675b5e5205a1e09 to your computer and use it in GitHub Desktop.
add the following file to ~/.sbt/1.0/plugins/ to disable coursier plugin on sbt 1.3
libraryDependencies ++= {
if (!sbtVersion.value.startsWith("1.3")) {
val sbtV = (sbtBinaryVersion in pluginCrossBuild).value
val scalaV = (scalaBinaryVersion in update).value
Seq(Defaults.sbtPluginExtra("io.get-coursier" % "sbt-coursier" % "2.0.0-RC3-3", sbtV, scalaV))
}
else Seq.empty
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment