Updates android-gradle-plugin to 9.2.1 (lint 32.2.1) and migrates off the org.jetbrains.kotlin.android plugin to AGP's built-in Kotlin, pinning the Kotlin version on each root's buildscript classpath and applying the com.android.library/application plugins through the plugins DSL. Differential Revision: https://phabricator.services.mozilla.com/D309476
48 lines
1.6 KiB
Groovy
48 lines
1.6 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.compose)
|
|
}
|
|
|
|
android {
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
|
|
namespace = 'mozilla.components.compose.engine'
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(":components:browser-state")
|
|
implementation project(":components:concept-engine")
|
|
implementation project(":components:support-ktx")
|
|
|
|
implementation platform(libs.androidx.compose.bom)
|
|
implementation libs.androidx.compose.foundation
|
|
implementation libs.androidx.compose.material3
|
|
implementation libs.androidx.compose.ui
|
|
implementation libs.androidx.compose.ui.tooling.preview
|
|
|
|
debugImplementation libs.androidx.compose.ui.tooling
|
|
|
|
testImplementation project(':components:support-test')
|
|
|
|
testImplementation libs.androidx.compose.ui.test
|
|
testImplementation libs.androidx.test.core
|
|
testImplementation libs.androidx.test.junit
|
|
testImplementation libs.robolectric
|
|
|
|
androidTestImplementation libs.androidx.compose.ui.test
|
|
androidTestImplementation libs.androidx.compose.ui.test.manifest
|
|
androidTestImplementation libs.androidx.test.junit
|
|
androidTestImplementation libs.mockito
|
|
}
|
|
|
|
apply from: '../../../common-config.gradle'
|
|
apply from: '../../../publish.gradle'
|
|
ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)
|