Skip to content
Permalink
Browse files

Restored dokka

  • Loading branch information...
sksamuel committed Mar 13, 2019
1 parent a6a5229 commit 66f4c57d557adf39266e665a49fcd98281c1af12
Showing with 10 additions and 10 deletions.
  1. +2 −2 build.gradle
  2. +8 −8 publish.gradle
@@ -4,13 +4,13 @@ buildscript {
ext.travisBuildNumber = System.getenv("TRAVIS_BUILD_NUMBER")
ext.isReleaseVersion = !isTravis
ext.JUnitPlatformVersion = "1.4.0"
//ext.dokkaVersion = '0.9.17'
ext.dokkaVersion = '0.9.17'
repositories {
mavenCentral()
}

dependencies {
//classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokkaVersion"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokkaVersion"
}
}

@@ -1,14 +1,14 @@
//apply plugin: 'org.jetbrains.dokka'
apply plugin: 'org.jetbrains.dokka'

//dokka {
// outputFormat = 'javadoc'
// outputDirectory = javadoc.destinationDir
//}
dokka {
outputFormat = 'javadoc'
outputDirectory = javadoc.destinationDir
}

//dokka.dependsOn javadoc
dokka.dependsOn javadoc

// task javadocJar(type: Jar, dependsOn: dokka) {
task javadocJar(type: Jar) {
task javadocJar(type: Jar, dependsOn: dokka) {
//task javadocJar(type: Jar) {
from javadoc.destinationDir
archiveClassifier = 'javadoc'
}

0 comments on commit 66f4c57

Please sign in to comment.
You can’t perform that action at this time.