Skip to content

Commit

Permalink
Add gradle task to generate API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
orangy committed Dec 14, 2017
1 parent f99d5b0 commit 693b336
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -15,3 +15,4 @@ release.properties

.video
.attach_pid*
apidoc
6 changes: 6 additions & 0 deletions build.gradle
Expand Up @@ -100,6 +100,12 @@ allprojects {
outputDirectory = "$buildDir/javadoc"
reportNotDocumented = false
}

task dokkaWebsite(type: org.jetbrains.dokka.gradle.DokkaTask) {
outputFormat = 'kotlin-website'
outputDirectory = "${rootProject.projectDir}/apidoc"
reportNotDocumented = false
}
}

task jarTest(type: Jar, dependsOn: testClasses) {
Expand Down

0 comments on commit 693b336

Please sign in to comment.