@@ -19,10 +19,10 @@ import java.nio.charset.StandardCharsets
1919
2020plugins {
2121 // Use whichever versions of these dependencies suit your application.
22- // The versions shown here were the latest versions as of May 09 , 2025.
22+ // The versions shown here were the latest versions as of June 10 , 2025.
2323 // Note, however, that the version of kotlin("plugin.serialization") _must_,
2424 // in general, match the version of kotlin("android").
25- id(" com.android.application" ) version " 8.9.2 "
25+ id(" com.android.application" ) version " 8.10.1 "
2626 id(" com.google.gms.google-services" ) version " 4.4.2"
2727 val kotlinVersion = " 2.1.10"
2828 kotlin(" android" ) version kotlinVersion
@@ -31,18 +31,23 @@ 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 {
3739 // Use whichever versions of these dependencies suit your application.
38- // The versions shown here were the latest versions as of May 09, 2025.
39- implementation(" com.google.firebase:firebase-dataconnect:16.0.1" )
40+ // The versions shown here were the latest versions as of June 10, 2025.
41+
42+ // Data Connect
43+ implementation(platform(" com.google.firebase:firebase-bom:33.15.0" ))
44+ implementation(" com.google.firebase:firebase-dataconnect" )
4045 implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.1" )
4146 implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.1" )
42- implementation(" org.jetbrains.kotlinx:kotlinx-serialization-core:1.8.0 " )
43- implementation(" androidx.appcompat:appcompat:1.7.0 " )
47+ implementation(" org.jetbrains.kotlinx:kotlinx-serialization-core:1.8.1 " )
48+ implementation(" androidx.appcompat:appcompat:1.7.1 " )
4449 implementation(" androidx.activity:activity-ktx:1.10.1" )
45- implementation(" androidx.lifecycle:lifecycle-viewmodel-ktx:2.9.0 " )
50+ implementation(" androidx.lifecycle:lifecycle-viewmodel-ktx:2.9.1 " )
4651 implementation(" com.google.android.material:material:1.12.0" )
4752
4853 // The following code in this "dependencies" block can be omitted from customer
@@ -52,6 +57,13 @@ dependencies {
5257 implementation(" io.kotest.extensions:kotest-property-arbs:2.1.2" )
5358}
5459
60+ dokka {
61+ moduleName.set(" Data Connect Demo" )
62+ dokkaSourceSets.main {
63+ sourceRoots.from(layout.buildDirectory.dir(" dataConnect/generatedSources/" ).get())
64+ }
65+ }
66+
5567// The remaining code in this file can be omitted from customer facing
5668// documentation. It's here just to make things compile and/or configure
5769// optional components of the build (e.g. spotless code formatting).
0 commit comments