File tree Expand file tree Collapse file tree 9 files changed +44
-4
lines changed
build-logic/convention/src/main/kotlin Expand file tree Collapse file tree 9 files changed +44
-4
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,10 @@ jobs:
4343 # Run dokka and create tar
4444 - name : Generate documentation
4545 run : |
46- ./gradlew dokkaHtmlMultiModule
46+ ./gradlew docs:dokkaGenerate
4747
4848 echo "Creating tar for generated docs"
49- cd $GITHUB_WORKSPACE/build/dokka/htmlMultiModule && tar cvf ~/maps-compose-docs.tar .
49+ cd $GITHUB_WORKSPACE/docs/ build/dokka/html && tar cvf ~/maps-compose-docs.tar .
5050
5151 echo "Unpacking tar into gh-pages branch"
5252 git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
Original file line number Diff line number Diff line change 1111/.idea /assetWizardSettings.xml
1212.DS_Store
1313/build
14+ build /
1415/captures
1516.externalNativeBuild
1617.cxx
Original file line number Diff line number Diff line change 1+ /* *
2+ * Common conventions for generating documentation with Dokka.
3+ */
4+
5+ plugins {
6+ id(" org.jetbrains.dokka" )
7+ }
8+
9+ dokka {
10+ dokkaSourceSets.configureEach {
11+ sourceLink {
12+ localDirectory.set(rootDir)
13+ }
14+ }
15+ }
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ buildscript {
1414}
1515
1616plugins {
17- alias(libs.plugins .dokka) apply true
17+ id( " org.jetbrains .dokka" ) version " 2.1.0 "
1818 alias(libs.plugins.compose.compiler) apply false
1919 id(" com.autonomousapps.dependency-analysis" ) version " 3.4.1"
2020 alias(libs.plugins.android.application) apply false
Original file line number Diff line number Diff line change 1+ plugins {
2+ kotlin(" jvm" ) apply false
3+ id(" org.jetbrains.dokka" )
4+ }
5+
6+ dependencies {
7+ dokka(project(" :maps-compose" ))
8+ dokka(project(" :maps-compose-utils" ))
9+ dokka(project(" :maps-compose-widgets" ))
10+ }
11+
12+ dokka {
13+ moduleName.set(" Android Maps Compose" )
14+ }
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ plugins {
44 id(" kotlin-android" )
55 alias(libs.plugins.compose.compiler)
66 id(" android.maps.compose.PublishingConventionPlugin" )
7+ id(" org.jetbrains.dokka" )
78}
89
910android {
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ plugins {
44 id(" kotlin-android" )
55 alias (libs.plugins.compose.compiler)
66 id(" android.maps.compose.PublishingConventionPlugin" )
7+ id(" org.jetbrains.dokka" )
78}
89
910android {
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
33plugins {
44 id(" org.jetbrains.kotlin.android" )
55 alias(libs.plugins.compose.compiler)
6+ id(" org.jetbrains.dokka" )
67 id(" android.maps.compose.PublishingConventionPlugin" )
78}
89
@@ -98,3 +99,9 @@ val generateArtifactIdFile = tasks.register("generateArtifactIdFile") {
9899tasks.named(" preBuild" ) {
99100 dependsOn(generateArtifactIdFile)
100101}
102+
103+ dokka {
104+ dokkaSourceSets.configureEach {
105+
106+ }
107+ }
Original file line number Diff line number Diff line change @@ -18,4 +18,5 @@ rootProject.name = "android-maps-compose"
1818include(" :maps-app" )
1919include(" :maps-compose" )
2020include(" :maps-compose-widgets" )
21- include(" :maps-compose-utils" )
21+ include(" :maps-compose-utils" )
22+ include(" :docs" )
You can’t perform that action at this time.
0 commit comments