build.gradle (1600B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 plugins { 6 alias(libs.plugins.kotlin.android) 7 alias(libs.plugins.kotlin.compose) 8 } 9 10 apply plugin: 'com.android.library' 11 12 android { 13 buildFeatures { 14 compose = true 15 } 16 17 namespace = 'mozilla.components.compose.engine' 18 } 19 20 dependencies { 21 implementation project(":components:browser-state") 22 implementation project(":components:concept-engine") 23 implementation project(":components:support-ktx") 24 25 implementation platform(libs.androidx.compose.bom) 26 implementation libs.androidx.compose.foundation 27 implementation libs.androidx.compose.material3 28 implementation libs.androidx.compose.ui 29 implementation libs.androidx.compose.ui.tooling.preview 30 31 debugImplementation libs.androidx.compose.ui.tooling 32 33 testImplementation project(':components:support-test') 34 35 testImplementation libs.androidx.compose.ui.test 36 testImplementation libs.androidx.test.core 37 testImplementation libs.androidx.test.junit 38 testImplementation libs.robolectric 39 40 androidTestImplementation libs.androidx.compose.ui.test 41 androidTestImplementation libs.androidx.compose.ui.test.manifest 42 androidTestImplementation libs.androidx.test.junit 43 androidTestImplementation libs.mockito 44 } 45 46 apply from: '../../../common-config.gradle' 47 apply from: '../../../publish.gradle' 48 ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)