Permalink
Browse files

Merge pull request #664 from coursier/develop

Remove scripted workaround
  • Loading branch information...
alexarchambault committed Sep 23, 2017
2 parents b7c7d5f + ccd102e commit 9b018f6dbc8627569ede71d7be3e7425c3f2cf5e
Showing with 0 additions and 26 deletions.
  1. +0 −26 project/Settings.scala
View
@@ -183,32 +183,6 @@ object Settings {
divertThingsPlugin ++
withScriptedTests ++
Seq(
sbtLauncher := {
val rep = update
.value
.configuration(ScriptedPlugin.scriptedLaunchConf.name)
.getOrElse(sys.error(s"Configuration ${ScriptedPlugin.scriptedLaunchConf.name} not found"))
val org = "org.scala-sbt"
val name = "sbt-launch"
val (_, jar) = rep
.modules
.find { modRep =>
modRep.module.organization == org && modRep.module.name == name
}
.getOrElse {
sys.error(s"Module $org:$name not found in configuration ${ScriptedPlugin.scriptedLaunchConf.name}")
}
.artifacts
.headOption
.getOrElse {
sys.error(s"No artifacts found for module $org:$name in configuration ${ScriptedPlugin.scriptedLaunchConf.name}")
}
jar
},
scriptedLaunchOpts ++= Seq(
"-Xmx1024M",
"-Dplugin.version=" + version.value,

0 comments on commit 9b018f6

Please sign in to comment.