Skip to content

Commit

Permalink
Add dokka dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrisvin committed Nov 18, 2019
1 parent 07141b7 commit e663e58
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

buildscript {
ext.kotlin_version = '1.3.60-eap-25'
ext.dokka_version = '0.9.18'
repositories {
google()
jcenter()
Expand All @@ -11,6 +12,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:4.0.0-alpha02'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.dokka:dokka-android-gradle-plugin:$dokka_version"

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
6 changes: 4 additions & 2 deletions liquidswipe/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'org.jetbrains.dokka'

android {
compileSdkVersion 29
Expand All @@ -23,8 +24,9 @@ android {
}
}

repositories {
maven { url 'https://jitpack.io' }
dokka {
outputFormat = 'gfm'
outputDirectory = "$buildDir/javadoc"
}
}

Expand Down

0 comments on commit e663e58

Please sign in to comment.