use runtime full-classpath for plugins

This commit is contained in:
Mark Harrah 2011-07-11 07:55:27 -04:00
parent 094f094d2e
commit eb14e97485
1 changed files with 1 additions and 1 deletions

View File

@ -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)