build.gradle (1942B)
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 import org.jetbrains.kotlin.gradle.tasks.KotlinCompile 6 7 apply plugin: 'com.android.library' 8 apply plugin: 'kotlin-android' 9 10 11 android { 12 namespace = 'mozilla.components.feature.tabs' 13 } 14 15 dependencies { 16 api project(':components:feature-session') 17 18 implementation project(':components:browser-session-storage') 19 implementation project(':components:browser-state') 20 implementation project(':components:browser-tabstray') 21 implementation project(':components:browser-thumbnails') 22 implementation project(':components:browser-toolbar') 23 implementation project(':components:concept-engine') 24 implementation project(':components:concept-menu') 25 implementation project(':components:concept-tabstray') 26 implementation project(':components:concept-toolbar') 27 implementation project(':components:ui-icons') 28 implementation project(':components:ui-tabcounter') 29 implementation project(':components:support-base') 30 implementation project(':components:support-ktx') 31 32 implementation libs.androidx.fragment 33 implementation libs.androidx.recyclerview 34 implementation libs.kotlinx.coroutines 35 36 // In tests we are constructing our own SessionManager instance which needs to know about an "engine". 37 testImplementation project(':components:concept-engine') 38 testImplementation project(':components:support-test') 39 testImplementation project(":components:support-test-libstate") 40 41 testImplementation libs.androidx.test.junit 42 testImplementation libs.kotlinx.coroutines.test 43 testImplementation libs.robolectric 44 } 45 46 apply from: '../../../common-config.gradle' 47 apply from: '../../../publish.gradle' 48 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)