diff --git a/src/sbt-test/sbtghpackages/startup/build.sbt b/src/sbt-test/sbtghpackages/startup/build.sbt new file mode 100644 index 0000000..a7a2111 --- /dev/null +++ b/src/sbt-test/sbtghpackages/startup/build.sbt @@ -0,0 +1 @@ +name := "startup-test" diff --git a/src/sbt-test/sbtghpackages/startup/project/build.properties b/src/sbt-test/sbtghpackages/startup/project/build.properties new file mode 100644 index 0000000..797e7cc --- /dev/null +++ b/src/sbt-test/sbtghpackages/startup/project/build.properties @@ -0,0 +1 @@ +sbt.version=1.3.10 diff --git a/src/sbt-test/sbtghpackages/startup/project/plugins.sbt b/src/sbt-test/sbtghpackages/startup/project/plugins.sbt new file mode 100644 index 0000000..28172ea --- /dev/null +++ b/src/sbt-test/sbtghpackages/startup/project/plugins.sbt @@ -0,0 +1,5 @@ +sys.props.get("plugin.version") match { + case Some(x) => addSbtPlugin("com.codecommit" % "sbt-github-packages" % x) + case _ => sys.error("""|The system property 'plugin.version' is not defined. + |Specify this property using the scriptedLaunchOpts -D.""".stripMargin) +} diff --git a/src/sbt-test/sbtghpackages/startup/test b/src/sbt-test/sbtghpackages/startup/test new file mode 100644 index 0000000..d2449e5 --- /dev/null +++ b/src/sbt-test/sbtghpackages/startup/test @@ -0,0 +1 @@ +> show publishTo