|
| 1 | +/* |
| 2 | + * Copyright 2026 The Android Open Source Project |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + */ |
| 16 | + |
| 17 | +plugins { |
| 18 | + alias(libs.plugins.android.library) |
| 19 | + alias(libs.plugins.kotlin.compose) |
| 20 | + alias(libs.plugins.hilt.android) |
| 21 | + alias(libs.plugins.google.devtools.ksp) |
| 22 | +} |
| 23 | + |
| 24 | +android { |
| 25 | + namespace = "com.example.jetpacker.feature.booking_assistant" |
| 26 | + compileSdk = libs.versions.compileSdk.get().toInt() |
| 27 | + defaultConfig { minSdk = libs.versions.minSdk.get().toInt() } |
| 28 | + compileOptions { |
| 29 | + sourceCompatibility = JavaVersion.VERSION_17 |
| 30 | + targetCompatibility = JavaVersion.VERSION_17 |
| 31 | + } |
| 32 | + buildFeatures { compose = true } |
| 33 | +} |
| 34 | + |
| 35 | +dependencies { |
| 36 | + implementation(libs.androidx.core.ktx) |
| 37 | + implementation(project(":core:ui")) |
| 38 | + implementation(project(":core:flags")) |
| 39 | + implementation(project(":data:itinerary")) |
| 40 | + implementation(project(":data:trips")) |
| 41 | + |
| 42 | + implementation(platform(libs.androidx.compose.bom)) |
| 43 | + implementation(libs.androidx.compose.material3) |
| 44 | + implementation(libs.androidx.compose.material.icons.core) |
| 45 | + implementation(libs.androidx.compose.material.icons.extended) |
| 46 | + implementation(libs.androidx.compose.ui.tooling.preview) |
| 47 | + debugImplementation(libs.androidx.compose.ui.tooling) |
| 48 | + implementation(libs.androidx.compose.ui) |
| 49 | + implementation(libs.androidx.lifecycle.viewmodel.compose) |
| 50 | + implementation(libs.androidx.lifecycle.runtime.compose) |
| 51 | + implementation(libs.androidx.hilt.navigation.compose) |
| 52 | + implementation(libs.hilt.android) |
| 53 | + "ksp"(libs.hilt.compiler) |
| 54 | + |
| 55 | + // A2UI Compose Renderer (Jetpack snapshot build 16368166) |
| 56 | + implementation(libs.androidx.a2ui.model) |
| 57 | + implementation(libs.androidx.a2ui.compose.runtime) |
| 58 | + implementation(libs.androidx.a2ui.compose.ui) |
| 59 | + implementation(libs.androidx.compose.material3.a2ui) |
| 60 | + |
| 61 | + // Cloud Run backend streaming |
| 62 | + implementation(libs.okhttp) |
| 63 | + implementation(platform(libs.firebase.bom)) |
| 64 | + implementation(libs.firebase.auth.ktx) |
| 65 | + implementation(libs.kotlinx.coroutines.play.services) |
| 66 | +} |
| 67 | + |
| 68 | +kotlin { jvmToolchain(17) } |
0 commit comments