Permalink
Browse files

Remove scripted workaround

Shouldn't be required anymore since
09c5ce4
  • Loading branch information...
alexarchambault committed Sep 23, 2017
1 parent b7c7d5f commit ccd102e2ec635c00ea92f16a0f72a377148794d9
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 ccd102e

Please sign in to comment.