Skip to content

Commit

Permalink
feat: updating configuration to generate multimodule documentation (#401
Browse files Browse the repository at this point in the history
)
  • Loading branch information
kikoso authored Sep 22, 2023
1 parent a68642d commit f6baafc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ jobs:
# Run dokka and create tar
- name: Generate documentation
run: |
./gradlew dokkaHtml
./gradlew dokkaHtmlMultiModule
echo "Creating tar for generated docs"
cd $GITHUB_WORKSPACE/maps-compose/build/dokka/html && tar cvf ~/maps-compose-docs.tar .
cd $GITHUB_WORKSPACE/build/dokka/htmlMultiModule && tar cvf ~/maps-compose-docs.tar .
echo "Unpacking tar into gh-pages branch"
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ buildscript {
}

plugins {
alias libs.plugins.dokka apply false
alias libs.plugins.dokka apply true
}

ext.projectArtifactId = { project ->
Expand Down Expand Up @@ -51,7 +51,7 @@ subprojects { project ->
toolVersion = libs.versions.jacoco.tool.plugin.get()
}

tasks.withType(Test) {
tasks.withType(Test).configureEach {
jacoco.includeNoLocationClasses = true
jacoco.excludes = ['jdk.internal.*']
}
Expand Down Expand Up @@ -123,6 +123,6 @@ subprojects { project ->
}
}

task clean(type: Delete) {
tasks.register('clean', Delete) {
delete rootProject.buildDir
}
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ androidxtest = "1.5.0"
compose-bom = "2022.11.00"
composecompiler = "1.3.2"
coroutines = "1.6.0"
dokka = "1.5.0"
dokka = "1.9.0"
espresso = "3.4.0"
jacoco-plugin = "0.2"
jacoco-tool-plugin = "0.8.7"
Expand Down

0 comments on commit f6baafc

Please sign in to comment.