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