mirror of https://github.com/sbt/sbt.git
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:
parent
0ccabd0820
commit
363e8687e2
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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/")
|
||||
|
|
|
|||
|
|
@ -1 +1,3 @@
|
|||
scalaVersion := "2.11.8"
|
||||
|
||||
coursierCachePolicies := Seq(coursier.CachePolicy.ForceDownload)
|
||||
|
|
|
|||
Loading…
Reference in New Issue