Skip to content

Commit

Permalink
chore: upgrade dokka gradle plugin (#1722)
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardomourar authored Sep 13, 2022
1 parent dc8d443 commit 5335e27
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ hs_err_pid*
# Gradle
.gradle
build/
**/bin/main/
**/bin/test/

# Ignore Gradle GUI config
gradle-app.setting
Expand All @@ -47,4 +49,4 @@ gradle-app.setting
target/

# IDEs
.idea/
.idea/
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ buildscript {

plugins {
kotlin("jvm") version "1.3.72" apply false
id("org.jetbrains.dokka") version "0.10.0"
id("org.jetbrains.dokka") version "1.7.10"
}

allprojects {
Expand Down
7 changes: 3 additions & 4 deletions codegen-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,12 @@ tasks.test {
}
}

tasks.dokka {
outputFormat = "html"
outputDirectory = "$buildDir/javadoc"
tasks.dokkaHtml.configure {
outputDirectory.set(buildDir.resolve("javadoc"))
}

// Always build documentation
tasks["build"].finalizedBy(tasks["dokka"])
tasks["build"].finalizedBy(tasks["dokkaHtml"])

// Configure jacoco (code coverage) to generate an HTML report
tasks.jacocoTestReport {
Expand Down
7 changes: 3 additions & 4 deletions codegen-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,12 @@ tasks.test {
}
}

tasks.dokka {
outputFormat = "html"
outputDirectory = "$buildDir/javadoc"
tasks.dokkaHtml.configure {
outputDirectory.set(buildDir.resolve("javadoc"))
}

// Always build documentation
tasks["build"].finalizedBy(tasks["dokka"])
tasks["build"].finalizedBy(tasks["dokkaHtml"])

// Configure jacoco (code coverage) to generate an HTML report
tasks.jacocoTestReport {
Expand Down

0 comments on commit 5335e27

Please sign in to comment.