build.gradle (1487B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 plugins { 6 alias(libs.plugins.kotlin.android) 7 alias(libs.plugins.kotlin.compose) 8 } 9 10 apply plugin: 'com.android.library' 11 12 android { 13 buildFeatures { 14 compose = true 15 } 16 namespace = 'mozilla.components.support.utils' 17 } 18 19 dependencies { 20 // We expose the app-compat as API so that consumers get access to the Lifecycle classes automatically 21 api libs.androidx.appcompat 22 23 implementation project(':components:support-base') 24 25 implementation libs.androidx.activity 26 implementation libs.androidx.activity.compose 27 implementation libs.androidx.annotation 28 implementation platform(libs.androidx.compose.bom) 29 implementation libs.androidx.compose.foundation 30 implementation libs.androidx.compose.ui 31 implementation libs.androidx.core 32 implementation libs.androidx.core.ktx 33 implementation libs.kotlinx.coroutines 34 35 testImplementation project(":components:support-test") 36 37 testImplementation libs.androidx.test.core 38 testImplementation libs.androidx.test.junit 39 testImplementation libs.kotlinx.coroutines.test 40 testImplementation libs.robolectric 41 } 42 43 apply from: '../../../common-config.gradle' 44 apply from: '../../../publish.gradle' 45 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)