build.gradle (2399B)
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 import org.jetbrains.kotlin.gradle.tasks.KotlinCompile 11 12 apply plugin: 'com.android.library' 13 14 android { 15 buildFeatures { 16 compose = true 17 } 18 19 namespace = 'mozilla.components.feature.prompts' 20 } 21 22 dependencies { 23 implementation project(':components:browser-state') 24 implementation project(':components:compose-base') 25 implementation project(':components:concept-engine') 26 implementation project(':components:feature-session') 27 implementation project(':components:feature-tabs') 28 implementation project(':components:lib-state') 29 implementation project(':components:support-ktx') 30 implementation project(':components:support-utils') 31 implementation project(':components:ui-icons') 32 implementation project(':components:ui-widgets') 33 implementation project(':components:ui-colors') 34 35 implementation libs.androidx.activity 36 implementation platform(libs.androidx.compose.bom) 37 implementation libs.androidx.compose.foundation 38 implementation libs.androidx.compose.material3 39 implementation libs.androidx.compose.ui 40 implementation libs.androidx.compose.ui.tooling.preview 41 implementation libs.androidx.constraintlayout 42 implementation libs.androidx.core.ktx 43 implementation libs.androidx.fragment.compose 44 implementation libs.google.material 45 46 debugImplementation libs.androidx.compose.ui.tooling 47 48 testImplementation project(':components:feature-session') 49 testImplementation project(':components:support-test') 50 testImplementation project(':components:support-test-libstate') 51 52 testImplementation libs.androidx.test.core 53 testImplementation libs.androidx.test.junit 54 testImplementation libs.kotlinx.coroutines.test 55 testImplementation libs.robolectric 56 57 androidTestImplementation project(':components:support-android-test') 58 androidTestImplementation libs.androidx.test.core 59 androidTestImplementation libs.androidx.test.runner 60 } 61 62 apply from: '../../../common-config.gradle' 63 apply from: '../../../publish.gradle' 64 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)