build.gradle (1436B)
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 17 namespace = 'mozilla.components.compose.browser.tabstray' 18 } 19 20 dependencies { 21 implementation project(":components:browser-state") 22 implementation project(":components:concept-tabstray") 23 implementation project(":components:feature-tabs") 24 implementation project(":components:ui-icons") 25 26 implementation platform(libs.androidx.compose.bom) 27 implementation libs.androidx.compose.foundation 28 implementation libs.androidx.compose.material3 29 implementation libs.androidx.compose.ui 30 implementation libs.androidx.compose.ui.tooling.preview 31 32 debugImplementation libs.androidx.compose.ui.tooling 33 34 testImplementation project(':components:support-test') 35 36 testImplementation libs.androidx.compose.ui.test 37 testImplementation libs.androidx.test.core 38 testImplementation libs.androidx.test.junit 39 testImplementation libs.robolectric 40 } 41 42 apply from: '../../../common-config.gradle' 43 apply from: '../../../publish.gradle' 44 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)