plugins { id 'org.jetbrains.kotlin.jvm' id("org.jetbrains.dokka") } apply from: '../template.root.gradle.kts' dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib" compile project(':first') compile project(':second') } subprojects { apply plugin: 'org.jetbrains.kotlin.jvm' apply plugin: 'org.jetbrains.dokka' }