build.gradle (2242B)
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.application' 11 12 android { 13 compileSdk { version = release(config.compileSdkMajorVersion) { minorApiLevel = config.compileSdkMinorVersion } } 14 15 defaultConfig { 16 applicationId "org.mozilla.samples.toolbar" 17 minSdk config.minSdkVersion 18 targetSdk config.targetSdkVersion 19 versionCode 1 20 versionName "1.0" 21 22 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 23 } 24 25 buildTypes { 26 release { 27 minifyEnabled = false 28 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 29 } 30 } 31 32 buildFeatures { 33 viewBinding = true 34 compose = true 35 } 36 37 namespace = 'org.mozilla.samples.toolbar' 38 } 39 40 41 dependencies { 42 implementation project(':components:browser-domains') 43 implementation project(':components:browser-menu') 44 implementation project(':components:browser-menu2') 45 implementation project(':components:browser-state') 46 implementation project(':components:browser-toolbar') 47 implementation project(':components:compose-base') 48 implementation project(':components:compose-browser-toolbar') 49 implementation project(':components:concept-engine') 50 implementation project(':components:concept-menu') 51 implementation project(':components:feature-toolbar') 52 implementation project(':components:support-ktx') 53 implementation project(':components:support-utils') 54 implementation project(':components:ui-colors') 55 implementation project(':components:ui-icons') 56 implementation project(':components:ui-tabcounter') 57 58 implementation libs.androidx.appcompat 59 implementation platform(libs.androidx.compose.bom) 60 implementation libs.androidx.compose.material3 61 implementation libs.androidx.compose.ui 62 implementation libs.androidx.core.ktx 63 implementation libs.androidx.recyclerview 64 implementation libs.kotlinx.coroutines 65 }