From eb14e974851f918a9c88579baf44491da6698271 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Mon, 11 Jul 2011 07:55:27 -0400 Subject: [PATCH] use runtime full-classpath for plugins --- main/EvaluteTask.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/EvaluteTask.scala b/main/EvaluteTask.scala index 873756c44..db3f4deda 100644 --- a/main/EvaluteTask.scala +++ b/main/EvaluteTask.scala @@ -28,7 +28,7 @@ object EvaluateTask def evalPluginDef(log: Logger)(pluginDef: BuildStructure, state: State): Seq[Attributed[File]] = { val root = ProjectRef(pluginDef.root, Load.getRootProject(pluginDef.units)(pluginDef.root)) - val pluginKey = Keys.fullClasspath in Configurations.Compile + val pluginKey = Keys.fullClasspath in Configurations.Runtime val evaluated = evaluateTask(pluginDef, ScopedKey(pluginKey.scope, pluginKey.key), state, root) val result = evaluated getOrElse error("Plugin classpath does not exist for plugin definition at " + pluginDef.root) processResult(result, log)