build.gradle (1513B)
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 apply plugin: 'kotlin-parcelize' 8 9 android { 10 buildFeatures { 11 viewBinding = true 12 } 13 14 namespace = 'mozilla.components.browser.menu' 15 } 16 17 dependencies { 18 implementation project(':components:concept-engine') 19 implementation project(':components:concept-menu') 20 implementation project(':components:browser-state') 21 implementation project(':components:support-base') 22 implementation project(':components:support-ktx') 23 implementation project(':components:ui-colors') 24 implementation project(':components:ui-icons') 25 26 implementation libs.androidx.appcompat 27 implementation libs.androidx.cardview 28 implementation libs.androidx.constraintlayout 29 implementation libs.androidx.coordinatorlayout 30 implementation libs.androidx.core.ktx 31 implementation libs.androidx.recyclerview 32 33 testImplementation project(':components:support-test') 34 35 testImplementation libs.androidx.test.core 36 testImplementation libs.androidx.test.junit 37 testImplementation libs.kotlinx.coroutines.test 38 testImplementation libs.robolectric 39 } 40 41 apply from: '../../../common-config.gradle' 42 apply from: '../../../publish.gradle' 43 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)