build.gradle (1916B)
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.service.firefox.accounts' 10 } 11 12 dependencies { 13 api project(':components:concept-storage') 14 // Types defined in concept-sync are part of the public API of this module. 15 api project(':components:concept-sync') 16 // Observable is part of public API of the FxaAccountManager. 17 api project(':components:support-base') 18 19 // Parts of this dependency are typealiase'd or are otherwise part of this module's public API. 20 api ComponentsDependencies.mozilla_appservices_fxaclient 21 implementation ComponentsDependencies.mozilla_appservices_syncmanager 22 23 implementation project(':components:support-ktx') 24 implementation project(':components:support-utils') 25 implementation project(':components:lib-dataprotect') 26 implementation project(':components:lib-state') 27 28 implementation libs.androidx.lifecycle.process 29 implementation libs.androidx.work.runtime 30 implementation libs.kotlinx.coroutines 31 32 testImplementation project(':components:support-test') 33 testImplementation project(':components:support-test-libstate') 34 35 testImplementation ComponentsDependencies.mozilla_appservices_full_megazord_libsForTests 36 testImplementation libs.androidx.test.core 37 testImplementation libs.androidx.test.junit 38 testImplementation libs.androidx.work.testing 39 testImplementation libs.kotlin.reflect 40 testImplementation libs.kotlinx.coroutines.test 41 testImplementation libs.robolectric 42 } 43 44 apply from: '../../../common-config.gradle' 45 apply from: '../../../publish.gradle' 46 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)