build.gradle (2305B)
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 viewBinding = true 15 compose = true 16 } 17 18 namespace = 'mozilla.components.compose.browser.toolbar' 19 } 20 21 dependencies { 22 api project(":components:concept-toolbar") 23 api project(":components:ui-autocomplete") 24 25 implementation project(":components:browser-menu2") 26 implementation project(":components:browser-state") 27 implementation project(":components:compose-base") 28 implementation project(":components:compose-cfr") 29 implementation project(":components:concept-engine") 30 implementation project(":components:concept-menu") 31 implementation project(":components:feature-session") 32 implementation project(":components:lib-state") 33 implementation project(":components:support-ktx") 34 implementation project(":components:support-utils") 35 implementation project(":components:ui-icons") 36 implementation project(":components:ui-tabcounter") 37 38 implementation libs.accompanist.drawablepainter 39 implementation platform(libs.androidx.compose.bom) 40 implementation libs.androidx.compose.foundation 41 implementation libs.androidx.compose.material3 42 implementation libs.androidx.compose.material3.adaptive 43 implementation libs.androidx.compose.ui 44 implementation libs.androidx.compose.ui.tooling.preview 45 implementation libs.androidx.constraintlayout 46 implementation libs.androidx.window.core 47 implementation libs.google.material 48 49 debugImplementation libs.androidx.compose.ui.tooling 50 51 testImplementation project(':components:support-test') 52 53 testImplementation libs.androidx.compose.ui.test 54 testImplementation libs.androidx.compose.ui.test.manifest 55 testImplementation libs.androidx.test.core 56 testImplementation libs.androidx.test.junit 57 testImplementation libs.robolectric 58 } 59 60 apply from: '../../../common-config.gradle' 61 apply from: '../../../publish.gradle' 62 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)