plugins { id 'org.jetbrains.dokka' } subprojects { buildscript { repositories { mavenCentral() jcenter() maven { url "https://dl.bintray.com/kotlin/kotlin-eap-1.1" } maven { url "https://dl.bintray.com/kotlin/kotlin-dev" } } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$test_kotlin_version" } } repositories { mavenCentral() jcenter() maven { url "https://dl.bintray.com/kotlin/kotlin-eap-1.1" } maven { url "https://dl.bintray.com/kotlin/kotlin-dev" } } } dependencies { dokkaRuntime files(dokka_fatjar) } apply plugin: 'org.jetbrains.dokka' dokka { configuration { kotlinTasks { [":subA:compileKotlin", ":subB:compileKotlin"] } } }