1buildscript {
2    dependencies {
3        classpath "com.android.tools.build:gradle:$abt_plugin_version"
4        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$test_kotlin_version"
5    }
6}
7
8
9plugins {
10    id 'org.jetbrains.dokka-android'
11}
12
13
14apply plugin: 'com.android.library'
15apply plugin: 'kotlin-android'
16apply plugin: 'org.jetbrains.dokka-android'
17
18
19android {
20    compileSdkVersion Integer.parseInt(sdk_version)
21    buildToolsVersion abt_version
22
23    sourceSets {
24        main.java.srcDirs += 'src/main/kotlin'
25    }
26}
27
28dependencies {
29    api(project(":jlib"))
30}
31
32dokka {
33    dokkaFatJar = new File(dokka_fatjar)
34
35    externalDocumentationLink {
36        url = new URL("https://example.com")
37        packageListUrl = file("$rootDir/package-list").toURI().toURL()
38    }
39}