1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 16:28:12 -07:00
This commit is contained in:
Cedric Beust 2015-10-31 16:00:33 -07:00
parent 0e728289c8
commit 8066ad4ae9

View file

@ -100,10 +100,9 @@ class KotlinPlugin @Inject constructor(
*/
@Directive
fun kotlinProject(vararg project: Project, init: KotlinProject.() -> Unit): KotlinProject {
with(KotlinProject()) {
return KotlinProject().apply {
init()
Kobalt.declareProjectDependencies(this, project)
return this
}
}