Skip to content

Commit

Permalink
#140 Downgrade dokka to 0.10.0 since the 1.4.20 version contains an i…
Browse files Browse the repository at this point in the history
  • Loading branch information
bsautel committed Feb 5, 2021
1 parent cc11ebc commit a3ee9c5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-javadoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
with:
java-version: 8
- name: Build Javadoc
run: ./gradlew dokkaJavadoc
run: ./gradlew dokka
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/dokka/javadoc
publish_dir: ./build/dokka
15 changes: 7 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ plugins {
jacoco
id("com.gradle.plugin-publish") version "0.11.0"
id("com.cinnober.gradle.semver-git") version "3.0.0"
id("org.jetbrains.dokka") version "1.4.20"
id("org.jetbrains.dokka") version "0.10.0"
id("org.gradle.test-retry") version "1.2.0"
}

Expand All @@ -32,7 +32,9 @@ java {

repositories {
mavenCentral()
gradlePluginPortal()
// Necessary for dokka (will have to be removed when dokka no longer
// depends on artifacts only present in jcenter)
jcenter()
}

dependencies {
Expand Down Expand Up @@ -95,12 +97,9 @@ tasks.jacocoTestReport {
}
}

tasks.dokkaJavadoc {
dokkaSourceSets {
configureEach {
jdkVersion.set(8)
}
}
tasks.dokka {
outputFormat = "javadoc"
configuration { jdkVersion = 8 }
}

gradlePlugin {
Expand Down

0 comments on commit a3ee9c5

Please sign in to comment.