1buildscript { 2 repositories { 3 jcenter() 4 mavenLocal() 5 } 6 dependencies { 7 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$test_kotlin_version" 8 } 9} 10 11plugins { 12 id 'org.jetbrains.dokka-android' 13} 14 15 16apply plugin: 'com.android.application' 17apply plugin: 'kotlin-android' 18apply plugin: 'kotlin-android-extensions' 19apply plugin: 'org.jetbrains.dokka-android' 20 21android { 22 compileSdkVersion Integer.parseInt(sdk_version) 23 buildToolsVersion abt_version 24 25 defaultConfig { 26 applicationId "org.example.kotlin.mixed" 27 minSdkVersion 14 28 targetSdkVersion Integer.parseInt(sdk_version) 29 versionCode 1 30 versionName "1.0" 31 } 32 buildTypes { 33 release { 34 minifyEnabled false 35 proguardFiles getDefaultProguardFile('proguard-android.txt') 36 } 37 } 38 sourceSets { 39 main.java.srcDirs += 'src/main/kotlin' 40 } 41} 42 43dependencies { 44 compile "org.jetbrains.kotlin:kotlin-stdlib:$test_kotlin_version" 45} 46 47 48dokka { 49 dokkaFatJar = new File(dokka_fatjar) 50}