aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-integration-tests/testData/androidLibDependsOnJavaLib/lib/build.gradle
blob: 8706a0760c1ac81181f58a7400b83264168522af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
buildscript {
    dependencies {
        classpath "com.android.tools.build:gradle:$abt_plugin_version"
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$test_kotlin_version"
    }
}


plugins {
    id 'org.jetbrains.dokka-android'
}


apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'org.jetbrains.dokka-android'


android {
    compileSdkVersion Integer.parseInt(sdk_version)
    buildToolsVersion abt_version

    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
    }
}

dependencies {
    api(project(":jlib"))
    defaultDokkaRuntime files(dokka_fatjar)
}

dokka {
    dokkaFatJar = dokka_fatjar
    configuration {
        externalDocumentationLink {
            url = new URL("https://example.com")
            packageListUrl = file("$rootDir/package-list").toURI().toURL()
        }
    }
}