Skip to content

Commit

Permalink
Clean deletes dokka dir and build depends on dokka.
Browse files Browse the repository at this point in the history
  • Loading branch information
pardom committed May 21, 2019
1 parent 5904d08 commit 6878f65
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle.kts
Expand Up @@ -11,3 +11,4 @@ buildscript {
classpath(deps.Dokka.Gradle.Plugin)
}
}

8 changes: 8 additions & 0 deletions oolong/build.gradle.kts
Expand Up @@ -120,6 +120,14 @@ tasks {
val compileTestKotlinJs by getting(Kotlin2JsCompile::class)
val npmInstall by getting(NpmInstallTask::class)

val clean by getting {
delete("$rootDir/docs/oolong")
}

val build by getting {
dependsOn("dokka")
}

val copyJsArtifacts by creating(Copy::class) {
dependsOn(compileKotlinJs)
from(compileKotlinJs.destinationDir)
Expand Down

0 comments on commit 6878f65

Please sign in to comment.