[components] For https://github.com/mozilla-mobile/android-components/issues/10404...
[gecko.git] / mobile / android / android-components / samples / sync / build.gradle
blob40266c8a89dea2b9f3df3181d3ebeb32758aad61
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/. */
5 apply plugin: 'com.android.application'
6 apply plugin: 'kotlin-android'
8 android {
9     compileSdkVersion config.compileSdkVersion
11     defaultConfig {
12         applicationId "org.mozilla.samples.sync"
13         minSdkVersion config.minSdkVersion
14         targetSdkVersion config.targetSdkVersion
15         versionCode 1
16         versionName "1.0"
18         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
19     }
21     buildTypes {
22         release {
23             minifyEnabled false
24             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
25         }
26     }
28     splits {
29         abi {
30             enable true
31             reset()
32             include 'x86', 'arm64-v8a', 'armeabi-v7a'
33         }
34     }
36     buildFeatures {
37         viewBinding true
38     }
41 dependencies {
42     implementation project(':concept-storage')
43     implementation project(':browser-storage-sync')
44     implementation project(':service-firefox-accounts')
45     implementation project(':service-sync-logins')
46     implementation project(':service-sync-autofill')
47     implementation project(':support-rustlog')
48     implementation project(':support-rusthttp')
49     implementation project(':lib-fetch-httpurlconnection')
50     implementation project(':lib-dataprotect')
52     implementation Dependencies.kotlin_reflect
53     implementation Dependencies.androidx_fragment
54     implementation Dependencies.androidx_recyclerview