Fixes project/extra

This commit is contained in:
Eugene Yokota 2017-07-16 17:30:20 -04:00
parent cc090344d9
commit baadd76544
1 changed files with 16 additions and 15 deletions

View File

@ -1,15 +1,16 @@
ivyPaths := IvyPaths(baseDirectory.value, Some(target.value / "ivy-cache"))
publishMavenStyle := false
publishTo := (baseDirectory { base =>
Some(Resolver.file("test-repo", base / "repo" / "test")(Resolver.defaultIvyPatterns))
}).value
projectID := (projectID { _.extra("e:color" -> "red") }).value
organization := "org.scala-sbt"
version := "1.0"
name := "define-color"
lazy val root = (project in file("."))
.settings(
organization := "org.scala-sbt",
version := "1.0-SNAPSHOT",
name := "define-color",
projectID := {
val old = projectID.value
old.extra("e:color" -> "red")
},
ivyPaths := IvyPaths(baseDirectory.value, Some(target.value / "ivy-cache")),
publishMavenStyle := false,
publishTo := {
val base = baseDirectory.value
Some(Resolver.file("test-repo", base / "repo" / "test")(Resolver.defaultIvyPatterns))
}
)