plugins { id("lectures") apply false } subprojects { apply(plugin = "lectures") } tasks.register("slides") { subprojects.forEach { dependsOn("${it.name}:slides") } } tasks.register("handout") { subprojects.forEach { dependsOn("${it.name}:handout") } } tasks.register("notes") { subprojects.forEach { dependsOn("${it.name}:notes") } }