Bug 1911019 - Use different anti-aliasing approximation for subpixel rectangles....
[gecko.git] / mobile / android / android-components / components / service / sync-logins / build.gradle
blob226e917c27a09a521d9a8f6c9fa38b52685df02e
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     lint {
16         warningsAsErrors true
17         abortOnError true
18     }
20     buildTypes {
21         release {
22             minifyEnabled false
23             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
24             consumerProguardFiles 'proguard-rules-consumer.pro'
25         }
26     }
28     namespace 'mozilla.components.browser.storage.sync.logins'
31 dependencies {
32     // Parts of this dependency are typealiase'd or are otherwise part of this module's public API.
33     api (ComponentsDependencies.mozilla_appservices_logins) {
34       // Use our own version of the Glean dependency,
35       // which might be different from the version declared by A-S.
36       exclude group: 'org.mozilla.telemetry', module: 'glean'
37     }
38     api ComponentsDependencies.mozilla_appservices_sync15
40     // Types defined in concept-sync are part of this module's public API.
41     api project(':concept-sync')
42     api project(':lib-dataprotect')
44     implementation project(':concept-storage')
45     implementation project(':support-utils')
46     implementation ComponentsDependencies.mozilla_glean
48     implementation ComponentsDependencies.kotlin_coroutines
51 apply from: '../../../android-lint.gradle'
52 apply from: '../../../publish.gradle'
53 ext.configurePublish(config.componentsGroupId, archivesBaseName, project.ext.description)