Force downloading things from SBT scripted tests

So that things aren't just picked from cache and are really tested

Ideally, the scripted tests should use a different cache directory, wiped after each test, but that seems like too much of a hassle to setup
This commit is contained in:
Alexandre Archambault 2016-05-06 13:54:20 +02:00
parent 0ccabd0820
commit 363e8687e2
No known key found for this signature in database
GPG Key ID: 14640A6839C263A9
4 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,7 @@
scalaVersion := "2.11.8"
coursierCachePolicies := Seq(coursier.CachePolicy.ForceDownload)
libraryDependencies += "com.github.alexarchambault" %% "argonaut-shapeless_6.1" % "1.0.0-RC1"
excludeDependencies += SbtExclusionRule("com.chuusai", "shapeless_2.11")

View File

@ -1,5 +1,7 @@
scalaVersion := "2.11.8"
coursierCachePolicies := Seq(coursier.CachePolicy.ForceDownload)
libraryDependencies += "com.chuusai" %% "shapeless" % "2.3.41" from {
val f = file(sys.props("sbttest.base")) / "sbt-coursier" / "from" / "shapeless_2.11-2.3.0.jar"

View File

@ -1,5 +1,7 @@
scalaVersion := "2.11.8"
coursierCachePolicies := Seq(coursier.CachePolicy.ForceDownload)
resolvers += Resolver.url(
"webjars-bintray",
new URL("https://dl.bintray.com/scalaz/releases/")

View File

@ -1 +1,3 @@
scalaVersion := "2.11.8"
coursierCachePolicies := Seq(coursier.CachePolicy.ForceDownload)