build.gradle (1454B)
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 apply plugin: 'com.android.library' 6 apply plugin: 'kotlin-android' 7 8 android { 9 namespace = 'mozilla.components.ui.widgets' 10 } 11 12 dependencies { 13 implementation project(':components:concept-base') 14 implementation project(':components:concept-engine') 15 implementation project(':components:concept-toolbar') 16 implementation project(':components:support-ktx') 17 implementation project(':components:ui-colors') 18 implementation project(':components:ui-icons') 19 20 implementation libs.androidx.appcompat 21 implementation platform(libs.androidx.compose.bom) 22 implementation libs.androidx.compose.ui.text.android 23 implementation libs.androidx.constraintlayout 24 implementation libs.androidx.core.ktx 25 implementation libs.androidx.swiperefreshlayout 26 implementation libs.google.material 27 28 testImplementation project(":components:support-test") 29 testImplementation project(':components:support-test-fakes') 30 31 testImplementation libs.androidx.test.junit 32 testImplementation libs.kotlinx.coroutines.test 33 testImplementation libs.robolectric 34 } 35 36 apply from: '../../../common-config.gradle' 37 apply from: '../../../publish.gradle' 38 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)