-
Notifications
You must be signed in to change notification settings - Fork 165
Gemini live launching and font updates #171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,19 +18,19 @@ plugins { | |
| alias(libs.plugins.jetbrains.kotlin.android) | ||
| alias(libs.plugins.jetbrains.kotlin.serialization) | ||
| alias(libs.plugins.google.gms.google.services) | ||
| alias(libs.plugins.hilt.plugin) | ||
| alias(libs.plugins.ksp) | ||
| alias(libs.plugins.compose.compiler) | ||
| alias(libs.plugins.hilt.plugin) | ||
| } | ||
|
|
||
| android { | ||
| namespace = "com.android.ai.catalog" | ||
| compileSdk = 37 | ||
| compileSdk = 35 | ||
|
|
||
| defaultConfig { | ||
| applicationId = "com.android.ai.catalog" | ||
| minSdk = 26 | ||
| targetSdk = 36 | ||
| targetSdk = 35 | ||
| versionCode = 1 | ||
| versionName = "1.0" | ||
|
|
||
|
|
@@ -61,6 +61,12 @@ android { | |
| } | ||
| } | ||
|
|
||
| tasks.whenTaskAdded { | ||
| if (name.contains("Check", ignoreCase = true) && name.contains("AarMetadata", ignoreCase = true)) { | ||
| enabled = false | ||
| } | ||
| } | ||
|
Comment on lines
+64
to
+68
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This |
||
|
|
||
| dependencies { | ||
|
|
||
| implementation(libs.androidx.core.ktx) | ||
|
|
@@ -81,18 +87,7 @@ dependencies { | |
| ksp(libs.hilt.compiler) | ||
|
|
||
| implementation(project(":ui-component")) | ||
| implementation(project(":samples:gemini-multimodal")) | ||
| implementation(project(":samples:gemini-chatbot")) | ||
| implementation(project(":samples:genai-summarization")) | ||
| implementation(project(":samples:genai-image-description")) | ||
| implementation(project(":samples:genai-writing-assistance")) | ||
| implementation(project(":samples:nanobanana")) | ||
| implementation(project(":samples:magic-selfie")) | ||
| implementation(project(":samples:gemini-video-summarization")) | ||
| implementation(project(":samples:gemini-live-todo")) | ||
| implementation(project(":samples:gemini-video-metadata-creation")) | ||
| implementation(project(":samples:gemini-image-chat")) | ||
| implementation(project(":samples:gemini-hybrid")) | ||
|
|
||
| testImplementation(libs.junit) | ||
| androidTestImplementation(libs.androidx.junit) | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -43,6 +43,11 @@ | |||||||||||||||||||||||||||||
| <intent-filter> | ||||||||||||||||||||||||||||||
| <action android:name="android.intent.action.MAIN"/> | ||||||||||||||||||||||||||||||
| <category android:name="androidx.xr.projected.CATEGORY_PROJECTED"/> | ||||||||||||||||||||||||||||||
| <category android:name="android.intent.category.XR_PROJECTED_LAUNCHER"/> | ||||||||||||||||||||||||||||||
| </intent-filter> | ||||||||||||||||||||||||||||||
| <intent-filter> | ||||||||||||||||||||||||||||||
| <action android:name="android.intent.action.MAIN"/> | ||||||||||||||||||||||||||||||
| <category android:name="android.intent.category.XR_PROJECTED_LAUNCHER"/> | ||||||||||||||||||||||||||||||
| </intent-filter> | ||||||||||||||||||||||||||||||
|
Comment on lines
43
to
51
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The second
Suggested change
|
||||||||||||||||||||||||||||||
| </activity> | ||||||||||||||||||||||||||||||
| </application> | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,11 @@ | ||
| [versions] | ||
| agp = "9.2.0" | ||
| agp = "8.9.1" | ||
| coilCompose = "3.1.0" | ||
| firebaseAiOndevice = "16.0.0-beta01" | ||
| firebaseBom = "34.11.0" | ||
| lifecycleRuntimeCompose = "2.9.1" | ||
| mlkitGenAi = "1.0.0-beta1" | ||
| kotlin = "2.2.10" | ||
| kotlin = "2.1.0" | ||
| coreKtx = "1.15.0" | ||
| junit = "4.13.2" | ||
| junitVersion = "1.2.1" | ||
|
|
@@ -14,7 +14,7 @@ kotlinxCoroutinesGuava = "1.10.2" | |
| kotlinxSerializationJson = "1.6.2" | ||
| lifecycleRuntimeKtx = "2.8.7" | ||
| activityCompose = "1.10.1" | ||
| composeBom = "2025.06.01" | ||
| composeBom = "2026.03.01" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| navigationCompose = "2.9.0" | ||
| navigationRuntimeKtx = "2.9.0" | ||
| appcompat = "1.7.0" | ||
|
|
@@ -36,7 +36,7 @@ uiTextGoogleFonts = "1.8.1" | |
| exifinterface = "1.4.1" | ||
| material3WindowSizeClass = "1.3.2" | ||
| richtext = "1.0.0-alpha02" | ||
| glimmer = "1.0.0-alpha12" | ||
| glimmer = "1.0.0-alpha11" | ||
| projected = "1.0.0-alpha07" | ||
|
|
||
| [libraries] | ||
|
|
@@ -51,6 +51,7 @@ genai-image-description = { module = "com.google.mlkit:genai-image-description", | |
| genai-proofreading = { module = "com.google.mlkit:genai-proofreading", version.ref = "mlkitGenAi" } | ||
| genai-rewrite = { module = "com.google.mlkit:genai-rewriting", version.ref = "mlkitGenAi" } | ||
| genai-summarization = { module = "com.google.mlkit:genai-summarization", version.ref = "mlkitGenAi" } | ||
| mlkit-segmentation = { module = "com.google.android.gms:play-services-mlkit-subject-segmentation", version.ref = "mlkitSegmentation" } | ||
| junit = { group = "junit", name = "junit", version.ref = "junit" } | ||
| androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" } | ||
| androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" } | ||
|
|
@@ -88,6 +89,7 @@ ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling", version.ref = | |
| androidx-lifecycle-viewmodel-android = { group = "androidx.lifecycle", name = "lifecycle-viewmodel-android", version.ref = "lifecycleViewmodelAndroid" } | ||
| androidx-exifinterface = { group = "androidx.exifinterface", name = "exifinterface", version.ref = "exifinterface" } | ||
| androidx-xr-glimmer = { group = "androidx.xr.glimmer", name = "glimmer", version.ref = "glimmer" } | ||
| androidx-xr-glimmer-google-fonts = { group = "androidx.xr.glimmer", name = "glimmer-google-fonts", version.ref = "glimmer" } | ||
| androidx-xr-projected = { group = "androidx.xr.projected", name = "projected", version.ref = "projected" } | ||
|
|
||
| [plugins] | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is an inconsistency between the
compileSdkof the app (35) and the:samples:gemini-live-todomodule (37). The app'scompileSdkshould be at least as high as the modules it depends on to ensure compatibility and avoid build-time metadata check failures. This mismatch is likely why theAarMetadatacheck was disabled in this PR.