[components] For https://github.com/mozilla-mobile/android-components/issues/10404...
[gecko.git] / mobile / android / android-components / samples / firefox-accounts / build.gradle
blob0d5793ebd477825940cc79f711ebecf1ce12cc5b
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.fxa"
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     }
37 dependencies {
38     implementation project(':service-firefox-accounts')
39     implementation project(':feature-qr')
40     implementation project(':support-base')
41     implementation project(':support-rustlog')
42     implementation project(':support-rusthttp')
43     implementation project(':lib-fetch-httpurlconnection')
45     implementation Dependencies.androidx_constraintlayout
47     implementation Dependencies.kotlin_stdlib
48     implementation Dependencies.kotlin_coroutines
50     implementation Dependencies.androidx_appcompat
51     implementation Dependencies.androidx_browser