diff --git a/sbt/src/sbt-test/project/artificial-root-no-publish/build.sbt b/sbt/src/sbt-test/project/artificial-root-no-publish/build.sbt new file mode 100644 index 000000000..974a291a9 --- /dev/null +++ b/sbt/src/sbt-test/project/artificial-root-no-publish/build.sbt @@ -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 diff --git a/sbt/src/sbt-test/project/artificial-root-no-publish/test b/sbt/src/sbt-test/project/artificial-root-no-publish/test new file mode 100644 index 000000000..13d050bce --- /dev/null +++ b/sbt/src/sbt-test/project/artificial-root-no-publish/test @@ -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