Backed out 2 changesets (bug 1943998) for causing wd failures @ phases.py CLOSED...
[gecko.git] / mobile / android / android-components / components / compose / browser-toolbar / build.gradle
bloba3e00e629252a960a45df28318f2c0aee7f93019
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'
8 android {
9     defaultConfig {
10         minSdkVersion config.minSdkVersion
11         compileSdk config.compileSdkVersion
12         targetSdkVersion config.targetSdkVersion
13     }
15     buildTypes {
16         release {
17             minifyEnabled false
18             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
19         }
20     }
22     buildFeatures {
23         compose true
24     }
26     composeOptions {
27         kotlinCompilerExtensionVersion = Versions.compose_compiler
28     }
30     namespace 'mozilla.components.compose.browser.toolbar'
33 dependencies {
34     implementation project(":concept-engine")
35     implementation project(":browser-state")
36     implementation project(":feature-session")
37     implementation project(":ui-icons")
38     implementation ComponentsDependencies.androidx_compose_ui
39     implementation ComponentsDependencies.androidx_compose_ui_tooling_preview
40     implementation ComponentsDependencies.androidx_compose_foundation
41     implementation ComponentsDependencies.androidx_compose_material
43     debugImplementation ComponentsDependencies.androidx_compose_ui_tooling
45     testImplementation project(':support-test')
46     testImplementation ComponentsDependencies.androidx_compose_ui_test
47     testImplementation ComponentsDependencies.androidx_test_core
48     testImplementation ComponentsDependencies.androidx_test_junit
49     testImplementation ComponentsDependencies.testing_robolectric
52 apply from: '../../../android-lint.gradle'
53 apply from: '../../../publish.gradle'
54 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)