Source code
Revision control
Copy as Markdown
Other Tools
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'com.google.devtools.ksp'
android {
defaultConfig {
minSdkVersion = config.minSdkVersion
compileSdk = config.compileSdkVersion
targetSdkVersion = config.targetSdkVersion
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
ksp {
arg("room.schemaLocation", "$projectDir/schemas".toString())
arg("room.generateKotlin", "true")
}
javaCompileOptions {
annotationProcessorOptions {
arguments += ["room.incremental": "true"]
}
}
}
buildTypes {
release {
minifyEnabled = false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets {
androidTest.assets.srcDirs += files("$projectDir/schemas".toString())
}
namespace = 'mozilla.components.feature.tab.collections'
}
dependencies {
implementation project(':components:feature-tabs')
implementation project(':components:concept-engine')
implementation project(':components:browser-state')
implementation project(':components:browser-session-storage')
implementation project(':components:support-ktx')
implementation project(':components:support-base')
implementation libs.kotlin.coroutines
implementation libs.androidx.paging
implementation libs.androidx.lifecycle.livedata
implementation libs.androidx.room.runtime
ksp libs.androidx.room.compiler
testImplementation project(':components:support-test')
testImplementation project(':components:support-test-libstate')
testImplementation libs.androidx.test.core
testImplementation libs.testing.coroutines
testImplementation platform(libs.junit.bom)
testImplementation libs.junit4
testRuntimeOnly libs.junit.vintage
testRuntimeOnly libs.junit.platform.launcher
testImplementation libs.testing.robolectric
testImplementation libs.kotlin.coroutines
androidTestImplementation project(':components:support-android-test')
androidTestImplementation project(':components:support-test-fakes')
androidTestImplementation libs.androidx.room.testing
androidTestImplementation libs.androidx.arch.core.testing
androidTestImplementation libs.androidx.test.core
androidTestImplementation libs.androidx.test.runner
androidTestImplementation libs.androidx.test.rules
androidTestImplementation libs.testing.coroutines
}
apply from: '../../../android-lint.gradle'
apply from: '../../../publish.gradle'
ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)