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
52 lines
1.9 KiB
Groovy
52 lines
1.9 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.base'
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(":components:support-base")
|
|
implementation project(":components:support-ktx")
|
|
implementation project(":components:support-utils")
|
|
implementation project(":components:ui-colors")
|
|
implementation project(":components:ui-icons")
|
|
|
|
implementation platform(libs.androidx.compose.bom)
|
|
implementation libs.androidx.compose.foundation
|
|
implementation libs.androidx.compose.material3
|
|
implementation libs.androidx.compose.material3.adaptive
|
|
implementation libs.androidx.compose.material3.adaptivelayout
|
|
implementation libs.androidx.compose.material3.adaptivenavigation
|
|
implementation libs.androidx.compose.material3.adaptivenavigationsuite
|
|
implementation libs.androidx.compose.material3.windowsizeclass
|
|
implementation libs.androidx.compose.ui
|
|
implementation libs.androidx.compose.ui.tooling.preview
|
|
implementation libs.androidx.navigation.compose
|
|
|
|
debugImplementation libs.androidx.compose.ui.tooling
|
|
testImplementation libs.androidx.compose.ui.test.manifest
|
|
|
|
testImplementation project(':components:support-test')
|
|
|
|
testImplementation libs.androidx.compose.ui.test
|
|
testImplementation libs.androidx.test.core
|
|
testImplementation libs.androidx.test.junit
|
|
testImplementation libs.robolectric
|
|
}
|
|
|
|
apply from: '../../../common-config.gradle'
|
|
apply from: '../../../publish.gradle'
|
|
ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)
|