1plugins { 2 id 'org.jetbrains.dokka' 3} 4 5subprojects { 6 buildscript { 7 repositories { 8 mavenCentral() 9 jcenter() 10 maven { url "http://dl.bintray.com/kotlin/kotlin-eap-1.1" } 11 maven { url "https://dl.bintray.com/kotlin/kotlin-dev" } 12 } 13 dependencies { 14 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$test_kotlin_version" 15 } 16 } 17 repositories { 18 mavenCentral() 19 jcenter() 20 maven { url "http://dl.bintray.com/kotlin/kotlin-eap-1.1" } 21 maven { url "https://dl.bintray.com/kotlin/kotlin-dev" } 22 } 23} 24 25apply plugin: 'org.jetbrains.dokka' 26 27dokka { 28 kotlinTasks { 29 [":subA:compileKotlin", ":subB:compileKotlin"] 30 } 31 dokkaFatJar = new File(dokka_fatjar) 32}