build.gradle (989B)
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 defaultConfig { 10 buildConfigField("String", "LIBRARY_VERSION", "\"" + config.componentsVersion + "\"") 11 } 12 13 buildFeatures { 14 buildConfig = true 15 } 16 17 namespace = 'mozilla.components.concept.fetch' 18 } 19 20 dependencies { 21 testImplementation libs.kotlinx.coroutines 22 23 testImplementation project(':components:support-test') 24 25 testImplementation libs.androidx.test.junit 26 testImplementation libs.kotlinx.coroutines.test 27 testImplementation libs.mockwebserver 28 testImplementation libs.robolectric 29 } 30 31 apply from: '../../../common-config.gradle' 32 apply from: '../../../publish.gradle' 33 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)