build.gradle (1499B)
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.glean' 10 } 11 12 dependencies { 13 // So consumers can set a HTTP client. 14 api project(':components:concept-fetch') 15 16 api libs.mozilla.glean 17 18 implementation project(':components:support-base') 19 implementation project(':components:support-ktx') 20 implementation project(':components:support-utils') 21 22 implementation libs.androidx.work.runtime 23 implementation libs.kotlinx.coroutines 24 25 testImplementation project(':components:lib-fetch-httpurlconnection') 26 testImplementation project(':components:lib-fetch-okhttp') 27 testImplementation project(':components:support-test') 28 29 testImplementation libs.androidx.test.core 30 testImplementation libs.androidx.work.testing 31 testImplementation platform(libs.junit.bom) 32 testImplementation libs.junit4 33 testRuntimeOnly libs.junit.platform.launcher 34 testRuntimeOnly libs.junit.vintage 35 testImplementation libs.mockwebserver 36 testImplementation libs.mozilla.glean.forUnitTests 37 testImplementation libs.robolectric 38 } 39 40 apply from: '../../../common-config.gradle' 41 apply from: '../../../publish.gradle' 42 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)