File tree Expand file tree Collapse file tree 3 files changed +27
-1
lines changed
firebase-dataconnect/demo Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -106,12 +106,19 @@ jobs:
106106 set -x
107107 firebase-dataconnect/demo/gradlew \
108108 --project-dir firebase-dataconnect/demo \
109- --no-daemon \
110109 ${{ (inputs.gradleInfoLog && '--info') || '' }} \
111110 --profile \
112111 -PdataConnect.demo.firebaseCommand=${{ env.FDC_FIREBASE_COMMAND }} \
113112 assemble test
114113
114+ - name : gradle dokkaGeneratePublicationHtml
115+ run : |
116+ set -x
117+ firebase-dataconnect/demo/gradlew \
118+ --project-dir firebase-dataconnect/demo \
119+ ${{ (inputs.gradleInfoLog && '--info') || '' }} \
120+ dokkaGeneratePublicationHtml
121+
115122 - uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
116123 with :
117124 name : apks
@@ -126,6 +133,13 @@ jobs:
126133 if-no-files-found : warn
127134 compression-level : 9
128135
136+ - uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
137+ with :
138+ name : ktdoc
139+ path : firebase-dataconnect/demo/build/dokka/html
140+ if-no-files-found : warn
141+ compression-level : 9
142+
129143 spotlessCheck :
130144 continue-on-error : false
131145 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ plugins {
3131 // The following code in this "plugins" block can be omitted from customer
3232 // facing documentation as it is an implementation detail of this application.
3333 id(" com.diffplug.spotless" ) version " 7.0.0.BETA4"
34+
35+ id(" org.jetbrains.dokka" ) version " 2.0.0"
3436}
3537
3638dependencies {
@@ -55,6 +57,13 @@ dependencies {
5557 implementation(" io.kotest.extensions:kotest-property-arbs:2.1.2" )
5658}
5759
60+ dokka {
61+ moduleName.set(" Data Connect Demo" )
62+ dokkaSourceSets.main {
63+ sourceRoots.from(layout.buildDirectory.dir(" dataConnect/generatedSources/" ).get())
64+ }
65+ }
66+
5867// The remaining code in this file can be omitted from customer facing
5968// documentation. It's here just to make things compile and/or configure
6069// optional components of the build (e.g. spotless code formatting).
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ android.useAndroidX=true
66
77org.gradle.jvmargs =-Xmx2g
88
9+ org.jetbrains.dokka.experimental.gradle.pluginMode =V2Enabled
10+ org.jetbrains.dokka.experimental.gradle.pluginMode.noWarn =true
11+
912// The path of the " firebase" command to use.
1013// If not specified, then " firebase" is used, resolved using the PATH environment variable.
1114// See build.gradle.kts for details.
You can’t perform that action at this time.
0 commit comments