1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Dependent projects were no longer being returned by GetDependenciesCommand.

This commit is contained in:
Cedric Beust 2016-04-18 21:41:25 -07:00
parent 2a1442f160
commit abe65baa49

View file

@ -63,7 +63,6 @@ open class JvmCompilerPlugin @Inject constructor(
override fun apply(project: Project, context: KobaltContext) {
super.apply(project, context)
project.projectProperties.put(DEPENDENT_PROJECTS, projects())
taskContributor.addIncrementalVariantTasks(this, project, context, "compile",
runTask = { taskCompile(project) })
@ -234,6 +233,8 @@ open class JvmCompilerPlugin @Inject constructor(
with(ProjectDescription(project, dependents)) {
allProjects.add(this)
}
project.projectProperties.put(DEPENDENT_PROJECTS, allProjects)
}
@Task(name = "doc", description = "Generate the documentation for the project")