aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-integration-tests/testData/androidMultiFlavourApp/app/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'runners/gradle-integration-tests/testData/androidMultiFlavourApp/app/build.gradle')
-rw-r--r--runners/gradle-integration-tests/testData/androidMultiFlavourApp/app/build.gradle18
1 files changed, 9 insertions, 9 deletions
diff --git a/runners/gradle-integration-tests/testData/androidMultiFlavourApp/app/build.gradle b/runners/gradle-integration-tests/testData/androidMultiFlavourApp/app/build.gradle
index ee68ba6d..660257ab 100644
--- a/runners/gradle-integration-tests/testData/androidMultiFlavourApp/app/build.gradle
+++ b/runners/gradle-integration-tests/testData/androidMultiFlavourApp/app/build.gradle
@@ -9,14 +9,13 @@ buildscript {
}
plugins {
- id 'org.jetbrains.dokka-android'
+ id 'org.jetbrains.dokka'
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
-apply plugin: 'org.jetbrains.dokka-android'
android {
compileSdkVersion Integer.parseInt(sdk_version)
@@ -57,19 +56,20 @@ android {
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$test_kotlin_version"
+ dokkaRuntime files(dokka_fatjar)
}
dokka {
outputDirectory = "$buildDir/dokka/all"
- dokkaFatJar = new File(dokka_fatjar)
}
-task dokkaFullFlavourOnly(type: org.jetbrains.dokka.gradle.DokkaAndroidTask) {
- kotlinTasks {
- ["compileFullReleaseKotlin"]
- }
- dokkaFatJar = new File(dokka_fatjar)
+task dokkaFullFlavourOnly(type: org.jetbrains.dokka.gradle.DokkaTask) {
outputDirectory = "$buildDir/dokka/fullOnly"
- moduleName = "full"
+ configuration {
+ moduleName = "full"
+ kotlinTasks {
+ ["compileFullReleaseKotlin"]
+ }
+ }
} \ No newline at end of file