build.gradle (1670B)
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 apply plugin: 'kotlin-parcelize' 14 15 android { 16 buildFeatures { 17 compose = true 18 } 19 20 namespace = 'mozilla.components.compose.browser.awesomebar' 21 } 22 23 dependencies { 24 implementation project(":components:browser-state") 25 implementation project(":components:concept-awesomebar") 26 implementation project(":components:support-base") 27 implementation project(":components:support-utils") 28 implementation project(":components:ui-icons") 29 30 implementation platform(libs.androidx.compose.bom) 31 implementation libs.androidx.compose.foundation 32 implementation libs.androidx.compose.material3 33 implementation libs.androidx.compose.ui 34 implementation libs.androidx.compose.ui.tooling.preview 35 implementation libs.androidx.core.ktx 36 implementation libs.kotlinx.coroutines 37 38 debugImplementation libs.androidx.compose.ui.tooling 39 40 testImplementation project(':components:support-test') 41 42 testImplementation libs.androidx.compose.ui.test 43 testImplementation libs.androidx.test.core 44 testImplementation libs.androidx.test.junit 45 testImplementation libs.robolectric 46 } 47 48 apply from: '../../../common-config.gradle' 49 apply from: '../../../publish.gradle' 50 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)