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/. */
5 apply plugin: 'com.android.library'
6 apply plugin: 'kotlin-android'
9 compileSdkVersion config.compileSdkVersion
12 minSdkVersion config.minSdkVersion
13 targetSdkVersion config.targetSdkVersion
19 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
23 namespace 'mozilla.components.browser.menu2'
27 implementation project(':concept-menu')
28 implementation project(':support-base')
29 implementation project(':support-ktx')
30 implementation project(':ui-icons')
32 implementation ComponentsDependencies.androidx_appcompat
33 implementation ComponentsDependencies.androidx_core_ktx
34 implementation ComponentsDependencies.androidx_recyclerview
35 implementation ComponentsDependencies.androidx_cardview
36 implementation ComponentsDependencies.androidx_constraintlayout
37 implementation ComponentsDependencies.androidx_coordinatorlayout
39 implementation ComponentsDependencies.kotlin_stdlib
40 implementation ComponentsDependencies.kotlin_coroutines
42 testImplementation project(':support-test')
44 testImplementation ComponentsDependencies.androidx_test_core
45 testImplementation ComponentsDependencies.androidx_test_junit
46 testImplementation ComponentsDependencies.testing_robolectric
47 testImplementation ComponentsDependencies.testing_mockito
48 testImplementation ComponentsDependencies.testing_coroutines
51 apply from: '../../../android-lint.gradle'
52 apply from: '../../../publish.gradle'
53 ext.configurePublish(config.componentsGroupId, archivesBaseName, project.ext.description)