Commit 645af933 authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Migrate from dokka android plugin to normal dokka plugin

parent a6f5aa18
...@@ -46,7 +46,7 @@ buildscript { ...@@ -46,7 +46,7 @@ buildscript {
dependencies { dependencies {
classpath "com.android.tools.build:gradle:$ANDROID_GRADLE_PLUGIN_VERSION" classpath "com.android.tools.build:gradle:$ANDROID_GRADLE_PLUGIN_VERSION"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
classpath "org.jetbrains.dokka:dokka-android-gradle-plugin:0.9.18" classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.4.32"
} }
} }
......
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
apply plugin: 'kotlin-android' apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-android-extensions'
apply plugin: 'org.jetbrains.dokka-android' apply plugin: 'org.jetbrains.dokka'
group = 'com.frostnerd.utils' group = 'com.frostnerd.utils'
ext { ext {
...@@ -48,6 +48,14 @@ android { ...@@ -48,6 +48,14 @@ android {
} }
} }
dokkaHtml.configure {
dokkaSourceSets {
named("main") {
noAndroidSdkLink.set(false)
}
}
}
static def compileBinariesLocally() { static def compileBinariesLocally() {
return System.getenv("COMPILE_BINARIES") != null || System.getenv("NEXUS_USER") == null || System.getenv("NEXUS_PASSWORD") == null return System.getenv("COMPILE_BINARIES") != null || System.getenv("NEXUS_USER") == null || System.getenv("NEXUS_PASSWORD") == null
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment