mirror of https://github.com/sbt/sbt.git
Allow to adjust plugin name in scripted tests
This commit is contained in:
parent
91cb55cc2e
commit
4cbb9082cc
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
{
|
addSbtPlugin {
|
||||||
val pluginVersion = sys.props.getOrElse(
|
|
||||||
|
val name = sys.props.getOrElse(
|
||||||
|
"plugin.name",
|
||||||
|
sys.error("plugin.name Java property not set")
|
||||||
|
)
|
||||||
|
val version = sys.props.getOrElse(
|
||||||
"plugin.version",
|
"plugin.version",
|
||||||
throw new RuntimeException(
|
sys.error("plugin.version Java property not set")
|
||||||
"""|The system property 'plugin.version' is not defined.
|
|
||||||
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
addSbtPlugin("io.get-coursier" % "sbt-coursier" % pluginVersion)
|
"io.get-coursier" % name % version
|
||||||
}
|
}
|
||||||
|
|
@ -29,6 +29,7 @@ object Settings {
|
||||||
Seq(
|
Seq(
|
||||||
scriptedLaunchOpts ++= Seq(
|
scriptedLaunchOpts ++= Seq(
|
||||||
"-Xmx1024M",
|
"-Xmx1024M",
|
||||||
|
"-Dplugin.name=" + name.value,
|
||||||
"-Dplugin.version=" + version.value,
|
"-Dplugin.version=" + version.value,
|
||||||
"-Dsbttest.base=" + (sourceDirectory.value / "sbt-test").getAbsolutePath
|
"-Dsbttest.base=" + (sourceDirectory.value / "sbt-test").getAbsolutePath
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue