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'
10 minSdkVersion config.minSdkVersion
11 compileSdk config.compileSdkVersion
12 targetSdkVersion config.targetSdkVersion
23 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
24 consumerProguardFiles 'proguard-rules-consumer.pro'
28 namespace 'mozilla.components.browser.storage.sync.logins'
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'
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)