mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Dependent projects were no longer being returned by GetDependenciesCommand.
This commit is contained in:
parent
2a1442f160
commit
abe65baa49
1 changed files with 2 additions and 1 deletions
|
@ -63,7 +63,6 @@ open class JvmCompilerPlugin @Inject constructor(
|
||||||
|
|
||||||
override fun apply(project: Project, context: KobaltContext) {
|
override fun apply(project: Project, context: KobaltContext) {
|
||||||
super.apply(project, context)
|
super.apply(project, context)
|
||||||
project.projectProperties.put(DEPENDENT_PROJECTS, projects())
|
|
||||||
taskContributor.addIncrementalVariantTasks(this, project, context, "compile",
|
taskContributor.addIncrementalVariantTasks(this, project, context, "compile",
|
||||||
runTask = { taskCompile(project) })
|
runTask = { taskCompile(project) })
|
||||||
|
|
||||||
|
@ -234,6 +233,8 @@ open class JvmCompilerPlugin @Inject constructor(
|
||||||
with(ProjectDescription(project, dependents)) {
|
with(ProjectDescription(project, dependents)) {
|
||||||
allProjects.add(this)
|
allProjects.add(this)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
project.projectProperties.put(DEPENDENT_PROJECTS, allProjects)
|
||||||
}
|
}
|
||||||
|
|
||||||
@Task(name = "doc", description = "Generate the documentation for the project")
|
@Task(name = "doc", description = "Generate the documentation for the project")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue