/* 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 { alias(libs.plugins.dependency.analysis) alias(libs.plugins.kotlin.compose) } apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { defaultConfig { buildConfigField("String", "LIBRARY_VERSION", "\"" + config.componentsVersion + "\"") } buildFeatures { buildConfig = true } namespace = 'mozilla.components.ui.richtext' } dependencies { // a-c modules implementation project(':components:compose-base') implementation(libs.jetbrains.markdown) // compose 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 testImplementation libs.androidx.test.junit } apply from: '../../../common-config.gradle' apply from: '../../../publish.gradle' ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)