mirror of https://github.com/sbt/sbt.git
fix dependency-management/cache-classifiers
This commit is contained in:
parent
97181e7700
commit
ff12b395a0
|
|
@ -1,10 +1,11 @@
|
|||
ThisBuild / scalaVersion := "2.12.8"
|
||||
|
||||
def localCache =
|
||||
ivyPaths := IvyPaths(baseDirectory.value, Some((baseDirectory in ThisBuild).value / "ivy" / "cache"))
|
||||
|
||||
val b = project
|
||||
.settings(
|
||||
localCache,
|
||||
scalaVersion := "2.11.8",
|
||||
libraryDependencies += "org.example" %% "artifacta" % "1.0.0-SNAPSHOT" withSources() classifier("tests"),
|
||||
externalResolvers := Vector(
|
||||
MavenCache("demo", ((baseDirectory in ThisBuild).value / "demo-repo")),
|
||||
|
|
@ -15,7 +16,6 @@ val b = project
|
|||
val a = project
|
||||
.settings(
|
||||
localCache,
|
||||
scalaVersion := "2.11.8",
|
||||
organization := "org.example",
|
||||
name := "artifacta",
|
||||
version := "1.0.0-SNAPSHOT",
|
||||
|
|
|
|||
Loading…
Reference in New Issue