mirror of
https://github.com/sbt/sbt.git
synced 2026-09-04 08:45:56 +02:00
Fixed problem where dependencies of sbt plugins were not on the plugin compile classpath
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@841 d89573ee-9141-11dd-94d4-bdf5e562f29c
This commit is contained in:
@@ -181,7 +181,7 @@ private final class BuilderProject(val info: ProjectInfo, val pluginPath: Path,
|
||||
managedSourcePath / name.substring(0, name.length - ".jar".length)
|
||||
}
|
||||
def plugins = descendents(managedDependencyPath, jarFilter)
|
||||
def pluginClasspath = plugins +++ pluginCompileConfiguration.outputDirectory
|
||||
def pluginClasspath: PathFinder = plugins +++ pluginCompileConfiguration.outputDirectory
|
||||
|
||||
lazy val pluginCompileConditional = new BuilderCompileConditional(pluginCompileConfiguration, "plugin")
|
||||
lazy val pluginCompileConfiguration =
|
||||
@@ -190,7 +190,7 @@ private final class BuilderProject(val info: ProjectInfo, val pluginPath: Path,
|
||||
def label = "plugin builder"
|
||||
def sources = descendents(managedSourcePath, sourceFilter)
|
||||
def outputDirectory = outputPath / "plugin-classes"
|
||||
def classpath = sbtJarPath
|
||||
def classpath: PathFinder = pluginClasspath +++ sbtJarPath
|
||||
def analysisPath = outputPath / "plugin-analysis"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user