build.gradle (1151B)
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 namespace = 'mozilla.components.concept.storage' 11 } 12 13 dependencies { 14 // Necessary because we use 'suspend'. Fun fact: this module will compile just fine without this 15 // dependency, but it will crash at runtime. 16 // Included via 'api' because this module is unusable without coroutines. 17 api libs.kotlinx.coroutines 18 19 implementation project(':components:support-ktx') 20 21 implementation libs.androidx.annotation 22 23 testImplementation project(':components:support-test') 24 25 testImplementation platform(libs.junit.bom) 26 testImplementation libs.junit4 27 testRuntimeOnly libs.junit.platform.launcher 28 testRuntimeOnly libs.junit.vintage 29 } 30 31 apply from: '../../../common-config.gradle' 32 apply from: '../../../publish.gradle' 33 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)