mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 08:38:13 -07:00
Clean up ProjectInfo.
This commit is contained in:
parent
638d16588e
commit
ff23b223cc
8 changed files with 26 additions and 34 deletions
|
@ -55,9 +55,6 @@ public class BuildFileCompiler @Inject constructor(@Assisted("buildFiles") val b
|
|||
// Find all the projects in the build file, possibly compiling them
|
||||
//
|
||||
val allProjects = findProjects(context)
|
||||
allProjects.forEach {
|
||||
it.projectExtra = Project.ProjectExtra(it)
|
||||
}
|
||||
plugins.applyPlugins(context, allProjects)
|
||||
|
||||
return allProjects
|
||||
|
|
|
@ -31,7 +31,7 @@ class WarGenerator @Inject constructor(val dependencyManager: DependencyManager)
|
|||
// The transitive closure of libraries goes into WEB-INF/libs.
|
||||
// Copy them all in kobaltBuild/war/WEB-INF/libs and create one IncludedFile out of that directory
|
||||
//
|
||||
val dependentProjects = listOf(ProjectDescription(project, project.projectInfo.dependsOn))
|
||||
val dependentProjects = listOf(ProjectDescription(project, project.projectExtra.dependsOn))
|
||||
val allDependencies = dependencyManager.calculateDependencies(project, context, dependentProjects,
|
||||
project.compileDependencies)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue