build.gradle (1911B)
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/. */ 4 5 apply plugin: 'com.android.library' 6 apply plugin: 'kotlin-android' 7 8 android { 9 namespace = 'mozilla.components.browser.storage.sync' 10 } 11 12 dependencies { 13 api project(':components:concept-storage') 14 api project(':components:concept-sync') 15 16 // These dependencies are part of this module's public API. 17 api(ComponentsDependencies.mozilla_appservices_places) { 18 // Use our own version of the Glean dependency, 19 // which might be different from the version declared by A-S. 20 exclude group: 'org.mozilla.telemetry', module: 'glean' 21 } 22 api ComponentsDependencies.mozilla_appservices_tabs 23 24 implementation project(':components:concept-toolbar') 25 implementation project(':components:support-utils') 26 27 implementation ComponentsDependencies.mozilla_appservices_syncmanager 28 implementation libs.androidx.work.runtime 29 30 testImplementation project(':components:support-test') 31 32 testImplementation ComponentsDependencies.mozilla_appservices_full_megazord_libsForTests 33 testImplementation ComponentsDependencies.mozilla_appservices_places 34 testImplementation ComponentsDependencies.mozilla_appservices_tabs 35 testImplementation libs.androidx.test.core 36 testImplementation libs.androidx.test.junit 37 testImplementation libs.androidx.work.testing 38 testImplementation libs.kotlin.reflect 39 testImplementation libs.kotlinx.coroutines.test 40 testImplementation libs.mockwebserver 41 testImplementation libs.mozilla.glean.forUnitTests 42 testImplementation libs.robolectric 43 } 44 45 apply from: '../../../common-config.gradle' 46 apply from: '../../../publish.gradle' 47 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)