From ccd102e2ec635c00ea92f16a0f72a377148794d9 Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Sat, 23 Sep 2017 18:00:11 +0200 Subject: [PATCH] Remove scripted workaround Shouldn't be required anymore since https://github.com/coursier/coursier/commit/09c5ce417a6bdedae44f713b5589ee777d16e7cf --- project/Settings.scala | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/project/Settings.scala b/project/Settings.scala index cfc28083a..e5b293348 100644 --- a/project/Settings.scala +++ b/project/Settings.scala @@ -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,