build.gradle (1902B)
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 apply plugin: 'com.android.application' 6 apply plugin: 'kotlin-android' 7 8 android { 9 compileSdk { version = release(config.compileSdkMajorVersion) { minorApiLevel = config.compileSdkMinorVersion } } 10 11 defaultConfig { 12 applicationId "org.mozilla.samples.sync" 13 minSdk config.minSdkVersion 14 targetSdk config.targetSdkVersion 15 versionCode 1 16 versionName "1.0" 17 18 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 19 } 20 21 buildTypes { 22 release { 23 minifyEnabled = false 24 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 25 } 26 } 27 28 splits { 29 abi { 30 enable = true 31 reset() 32 include "armeabi-v7a", "arm64-v8a", "x86_64" 33 } 34 } 35 36 buildFeatures { 37 viewBinding = true 38 buildConfig = true 39 } 40 41 namespace = 'org.mozilla.samples.sync' 42 } 43 44 dependencies { 45 implementation project(':components:browser-storage-sync') 46 implementation project(':components:concept-storage') 47 implementation project(':components:concept-toolbar') 48 implementation project(':components:lib-dataprotect') 49 implementation project(':components:lib-fetch-httpurlconnection') 50 implementation project(':components:service-firefox-accounts') 51 implementation project(':components:service-sync-autofill') 52 implementation project(':components:service-sync-logins') 53 implementation project(':components:support-appservices') 54 implementation project(':components:support-ktx') 55 56 implementation libs.androidx.fragment 57 implementation libs.androidx.recyclerview 58 implementation libs.kotlin.reflect 59 }