Files
sousa-gecko/mobile/android/android-components/components/support/utils/build.gradle
T
Ryan VanderMeulen c9be87198e Bug 2044785 - Update AndroidX Core to version 1.19.0. r=android-reviewers,ai4dev-reviewers,adhingra,suhaib
AndroidX Core 1.19 folds the core-ktx artifact into core, so drop the androidx-core-ktx catalog
alias and move consumers from libs.androidx.core.ktx to libs.androidx.core.

Differential Revision: https://phabricator.services.mozilla.com/D309650
2026-06-30 19:00:44 +00:00

54 lines
1.8 KiB
Groovy

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
plugins {
id 'com.android.library'
alias(libs.plugins.dependency.analysis)
alias(libs.plugins.kotlin.compose)
}
android {
buildFeatures {
compose = true
}
namespace = 'mozilla.components.support.utils'
testFixtures {
enable = true
}
}
dependencies {
// We expose the app-compat as API so that consumers get access to the Lifecycle classes automatically
api libs.androidx.appcompat
implementation project(':components:support-base')
implementation libs.androidx.activity
implementation libs.androidx.activity.compose
implementation libs.androidx.annotation
implementation platform(libs.androidx.compose.bom)
implementation libs.androidx.compose.runtime.saveable
implementation libs.androidx.compose.foundation
implementation libs.androidx.compose.ui
implementation libs.androidx.core
implementation libs.androidx.documentfile
implementation libs.disklrucache
implementation libs.kotlinx.coroutines
testImplementation project(":components:support-test")
testImplementation libs.androidx.test.core
testImplementation libs.androidx.test.junit
testImplementation libs.kotlin.test
testImplementation libs.kotlinx.coroutines.test
testImplementation libs.robolectric
testFixturesImplementation platform(libs.androidx.compose.bom)
testFixturesImplementation libs.androidx.compose.runtime.saveable
}
apply from: '../../../common-config.gradle'
apply from: '../../../publish.gradle'
ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)