mirror of https://github.com/sbt/sbt.git
Fixes project/extra
This commit is contained in:
parent
cc090344d9
commit
baadd76544
|
|
@ -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))
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue