diff --git a/sbt/src/sbt-test/project/binary-plugin/changes/use/plugins.sbt b/sbt/src/sbt-test/project/binary-plugin/changes/use/plugins.sbt index b20bc97c3..795dff137 100644 --- a/sbt/src/sbt-test/project/binary-plugin/changes/use/plugins.sbt +++ b/sbt/src/sbt-test/project/binary-plugin/changes/use/plugins.sbt @@ -1 +1 @@ -addSbtPlugin("org.example" % "demo-plugin" % "3.4") +addSbtPlugin("org.example" % "demo-plugin" % "3.4-SNAPSHOT") diff --git a/sbt/src/sbt-test/project/binary-plugin/common.sbt b/sbt/src/sbt-test/project/binary-plugin/common.sbt index 0cf61c76c..4b30c03d6 100644 --- a/sbt/src/sbt-test/project/binary-plugin/common.sbt +++ b/sbt/src/sbt-test/project/binary-plugin/common.sbt @@ -1,7 +1,7 @@ organization in ThisBuild := "org.example" -version in ThisBuild := "3.4" +// We have to use snapshot because this is publishing to our local ivy cache instead of +// an integration cache, so we're in danger land. +version in ThisBuild := "3.4-SNAPSHOT" -lazy val define = project -lazy val use = project diff --git a/sbt/src/sbt-test/project/binary-plugin/test b/sbt/src/sbt-test/project/binary-plugin/test index ceb4e6a76..169511975 100644 --- a/sbt/src/sbt-test/project/binary-plugin/test +++ b/sbt/src/sbt-test/project/binary-plugin/test @@ -1,10 +1,12 @@ +# First we define the plugin project and publish it $ copy-file changes/define/build.sbt build.sbt $ copy-file changes/define/A.scala A.scala # reload implied > publishLocal +# Now we remove the source code and define a project which uses the build. $ delete build.sbt A.scala $ copy-file changes/use/plugins.sbt project/plugins.sbt > reload -> extra/check +> check