Skip to content

Commit 1f35e12

Browse files
committed
work
1 parent d4a3068 commit 1f35e12

File tree

6 files changed

+1975
-7
lines changed

6 files changed

+1975
-7
lines changed

firebase-dataconnect/demo/build.gradle.kts

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ import java.nio.charset.StandardCharsets
1919

2020
plugins {
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

3638
dependencies {
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).

firebase-dataconnect/demo/firebase/dataconnect/dataconnect.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ schema:
77
postgresql: null
88
connectorDirs:
99
- ./connector
10+
- ./demo
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
connectorId: demo
2+
authMode: PUBLIC
3+
generate:
4+
kotlinSdk:
5+
outputDir: /usr/local/google/home/dconeybe/tmp/codegen_SbahhI02Ze/kotlin
6+
package: a.b.fdccon
7+
swiftSdk:
8+
outputDir: /usr/local/google/home/dconeybe/tmp/codegen_SbahhI02Ze/swift
9+
package: fdc
10+
javascriptSdk:
11+
outputDir: /usr/local/google/home/dconeybe/tmp/codegen_SbahhI02Ze/js
12+
package: fdc.con

0 commit comments

Comments
 (0)