Skip to content

Commit

Permalink
Upgrade dokka to 1.6.10, set org.gradle.jvmargs (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
alancai98 authored Apr 6, 2022
1 parent fe306c6 commit 51e7da7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
org.gradle.parallel=true
org.gradle.caching=true
org.gradle.caching=true
org.gradle.jvmargs=-Xmx4096M
12 changes: 6 additions & 6 deletions lang/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ plugins {
id 'java-library'
// https://docs.gradle.org/5.0/userguide/publishing_maven.html#header
id 'maven-publish'
id 'org.jetbrains.dokka' version '0.9.18'
id 'org.jetbrains.dokka' version '1.6.10'
id 'signing'
id 'me.champeau.gradle.jmh' version '0.5.3'
}
Expand Down Expand Up @@ -117,9 +117,9 @@ ktlint {
}
}

dokka {
outputFormat = "html"
outputDirectory = "$buildDir/javadoc"
tasks.dokkaHtml.configure {
dependsOn(generatePigDomains)
outputDirectory.set(file("$buildDir/javadoc"))
//todo: includes = ["path/to/module.md"]
}

Expand All @@ -129,8 +129,8 @@ task sourcesJar(type: Jar) {
}

task javadocJar(type: Jar) {
from dokka
classifier = "javadoc"
from dokkaHtml
archiveClassifier.set("javadoc")
}

publishing {
Expand Down

0 comments on commit 51e7da7

Please sign in to comment.