Skip to content

Commit 63f2d12

Browse files
committed
Migrate dokka to v2
1 parent 18f6b1c commit 63f2d12

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ jobs:
4545
4646
- uses: gradle/gradle-build-action@v3
4747

48-
- run: ./gradlew :dokkaHtmlMultiModule --no-configuration-cache
48+
- run: ./gradlew dokkaGenerate
4949

5050
- name: Build site
5151
run: mkdocs build
5252

5353
- name: Copy Dokka output to site
54-
run: cp -r build/dokka/htmlMultiModule/ site/api/
54+
run: cp -r build/dokka/html/ site/api/
5555

5656
- name: Upload artifact
5757
uses: actions/upload-pages-artifact@v3

build.gradle.kts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@ plugins {
22
alias(libs.plugins.androidApplication) apply false
33
alias(libs.plugins.androidLibrary) apply false
44
alias(libs.plugins.composeCompiler) apply false
5+
alias(libs.plugins.dokka)
56
alias(libs.plugins.kotlin) apply false
67
alias(libs.plugins.ksp) apply false
78
alias(libs.plugins.vanniktechMavenPublish) apply false
8-
alias(libs.plugins.dokka)
9+
}
10+
11+
dependencies {
12+
dokka(projects.navigationComposeExtended)
13+
dokka(projects.navigationComposeExtendedAnnotation)
14+
dokka(projects.navigationComposeExtendedCompiler)
15+
dokka(projects.navigationComposeExtendedWear)
916
}

gradle.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ android.nonFinalResIds=false
1414
#Compose Multiplatform
1515
org.jetbrains.compose.experimental.uikit.enabled=true
1616

17+
#Dokka
18+
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
19+
1720
POM_NAME=Navigation Compose Extended
1821
POM_DESCRIPTION=Navigation Compose Extended is a complementary library for AndroidX Jetpack Navigation Compose to improve creation of navigation elements
1922

0 commit comments

Comments
 (0)