mirror of https://github.com/sbt/sbt.git
Test that artificial root isn't published.
This commit is contained in:
parent
58a2e634e2
commit
a770b9818f
|
|
@ -0,0 +1,10 @@
|
|||
val commonSettings = Seq(
|
||||
organization := "com.example",
|
||||
version := "0.1.0",
|
||||
ivyPaths := new IvyPaths((baseDirectory in LocalRootProject).value, Some((target in LocalRootProject).value / "ivy-cache"))
|
||||
)
|
||||
|
||||
lazy val app = (project in file("app")).
|
||||
settings(commonSettings: _*)
|
||||
|
||||
commonSettings
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
> publishLocal
|
||||
$ exists target/ivy-cache/local/com.example/app_2.10/0.1.0/poms/app_2.10.pom
|
||||
$ exists target/ivy-cache/local/com.example/app_2.10/0.1.0/jars/app_2.10.jar
|
||||
$ absent target/ivy-cache/local/com.example/default-root_2.10/0.1.0/ivys/ivy.xml
|
||||
Loading…
Reference in New Issue