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
24 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
25 consumerProguardFiles 'proguard-rules-consumer.pro'
31 // Parts of this dependency are typealiase'd or are otherwise part of this module's public API.
32 api(Dependencies.mozilla_sync_logins) {
33 // Use our own version of the Glean dependency,
34 // which might be different from the version declared by A-S.
35 exclude group: 'org.mozilla.components', module: 'service-glean'
37 api Dependencies.mozilla_sync15
39 // Types defined in concept-sync are part of this module's public API.
40 api project(':concept-sync')
41 api project(':lib-dataprotect')
43 implementation project(':concept-storage')
44 implementation project(':support-sync-telemetry')
45 implementation project(':service-glean')
47 implementation Dependencies.kotlin_stdlib
48 implementation Dependencies.kotlin_coroutines
50 testImplementation Dependencies.mozilla_sync_logins
52 testImplementation Dependencies.androidx_test_core
53 testImplementation Dependencies.androidx_test_junit
54 testImplementation Dependencies.testing_junit
55 testImplementation Dependencies.testing_robolectric
56 testImplementation Dependencies.testing_mockito
57 testImplementation Dependencies.testing_coroutines
58 testImplementation project(':support-test')
61 apply from: '../../../publish.gradle'
62 ext.configurePublish(config.componentsGroupId, archivesBaseName, project.ext.description)