Skip to content

Commit 76c994c

Browse files
committed
Update Dokka version and configuration
1 parent 2aea385 commit 76c994c

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

.github/workflows/build-kdoc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: gradle/actions/setup-gradle@v3
2424

2525
- name: Build KDoc
26-
run: ./gradlew --no-daemon --no-configuration-cache lib:dokkaHtml
26+
run: ./gradlew --build-cache --configuration-cache lib:dokkaGenerate
2727

2828
- name: Publish KDoc
2929
if: success()

build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ plugins {
33
alias(libs.plugins.android.application) apply false
44
alias(libs.plugins.android.library) apply false
55
alias(libs.plugins.compose.compiler) apply false
6-
alias(libs.plugins.dokka) apply false
76
alias(libs.plugins.kotlin.android) apply false
87
}
98

109
group = "at.bitfire"
11-
version = System.getenv("GIT_COMMIT")
10+
version = System.getenv("GIT_COMMIT")

gradle.properties

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ org.gradle.daemon=true
33
org.gradle.jvmargs=-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=512m
44
org.gradle.parallel=true
55

6-
# configuration cache [https://developer.android.com/build/optimize-your-build#use-the-configuration-cache-experimental]
7-
org.gradle.unsafe.configuration-cache=true
8-
org.gradle.unsafe.configuration-cache-problems=warn
9-
106
# Android
117
android.useAndroidX=true
8+
# Dokka
9+
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
@@ -9,7 +9,7 @@ androidx-test-runner = "1.6.2"
99
androidx-test-rules = "1.6.1"
1010
conscrypt = "2.5.3"
1111
compose-bom = "2025.06.01"
12-
dokka = "1.9.20"
12+
dokka = "2.0.0"
1313
junit = "4.13.2"
1414
kotlin = "2.2.0"
1515
mockk = "1.14.4"

0 commit comments

Comments
 (0)