Skip to content

Commit 211cc9f

Browse files
authored
Update dokka to 2.0.0 (#44)
* Enable Dokka V2 plugin mode * Upgrade Dokka to 2.0.0 * Changed build command and enable build cache
1 parent e0c389b commit 211cc9f

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/build-kdoc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: gradle/actions/setup-gradle@v4
2222

2323
- name: Build KDoc
24-
run: ./gradlew --no-configuration-cache dokkaHtml
24+
run: ./gradlew --build-cache --configuration-cache dokkaGenerate
2525

2626
- uses: actions/upload-pages-artifact@v3
2727
with:

gradle.properties

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ org.gradle.unsafe.configuration-cache-problems=warn
1010
org.gradle.caching=true
1111

1212
# Android
13-
android.useAndroidX=true
13+
android.useAndroidX=true
14+
# Dokka
15+
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ androidx-annotation = "1.9.1"
55
androidx-core = "1.16.0"
66
androidx-test-rules = "1.6.1"
77
androidx-test-runner = "1.6.2"
8-
dokka = "1.9.20"
8+
dokka = "2.0.0"
99
ezvcard = "0.12.1"
1010
guava = "33.4.8-android"
1111
# noinspection GradleDependency

0 commit comments

Comments
 (0)