AndroidX Core 1.19 folds the core-ktx artifact into core, so drop the androidx-core-ktx catalog alias and move consumers from libs.androidx.core.ktx to libs.androidx.core. Differential Revision: https://phabricator.services.mozilla.com/D309650
74 lines
2.5 KiB
Groovy
74 lines
2.5 KiB
Groovy
/* 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
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
plugins {
|
|
id 'com.android.library'
|
|
alias(libs.plugins.dependency.analysis)
|
|
alias(libs.plugins.kotlin.parcelize)
|
|
alias(libs.plugins.ksp)
|
|
}
|
|
|
|
android {
|
|
defaultConfig {
|
|
ksp {
|
|
arg("room.schemaLocation", "$projectDir/schemas".toString())
|
|
arg("room.generateKotlin", "true")
|
|
}
|
|
|
|
javaCompileOptions {
|
|
annotationProcessorOptions {
|
|
arguments += ["room.incremental": "true"]
|
|
}
|
|
}
|
|
}
|
|
|
|
buildFeatures {
|
|
viewBinding = true
|
|
}
|
|
|
|
namespace = 'mozilla.components.feature.addons'
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':components:browser-state')
|
|
implementation project(':components:concept-engine')
|
|
implementation project(':components:concept-fetch')
|
|
implementation project(':components:concept-menu')
|
|
implementation project(':components:support-base')
|
|
implementation project(':components:support-ktx')
|
|
implementation project(':components:support-utils')
|
|
implementation project(':components:support-webextensions')
|
|
implementation project(':components:ui-colors')
|
|
implementation project(':components:ui-icons')
|
|
implementation project(':components:ui-widgets')
|
|
|
|
implementation libs.androidx.activity
|
|
implementation libs.androidx.appcompat
|
|
implementation libs.androidx.cardview
|
|
implementation libs.androidx.core
|
|
implementation libs.androidx.lifecycle.runtime
|
|
implementation libs.androidx.recyclerview
|
|
implementation libs.androidx.room.runtime
|
|
implementation libs.google.material
|
|
ksp libs.androidx.room.compiler
|
|
implementation libs.androidx.work.runtime
|
|
implementation libs.kotlinx.coroutines
|
|
|
|
testImplementation project(':components:browser-engine-gecko')
|
|
testImplementation project(':components:support-test')
|
|
testImplementation project(':components:support-test-libstate')
|
|
|
|
testImplementation libs.androidx.concurrent
|
|
testImplementation libs.androidx.test.core
|
|
testImplementation libs.androidx.test.junit
|
|
testImplementation libs.androidx.work.testing
|
|
testImplementation libs.kotlin.test
|
|
testImplementation libs.kotlinx.coroutines.test
|
|
testImplementation libs.robolectric
|
|
}
|
|
|
|
apply from: '../../../common-config.gradle'
|
|
apply from: '../../../publish.gradle'
|
|
ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)
|