build.gradle (1672B)
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.relay" 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 namespace = 'org.mozilla.samples.relay' 37 38 } 39 40 dependencies { 41 implementation project(':components:lib-fetch-httpurlconnection') 42 implementation project(':components:service-firefox-accounts') 43 implementation project(':components:support-appservices') 44 implementation project(':components:support-base') 45 implementation project(':components:support-ktx') 46 implementation project(":components:service-firefox-relay") 47 48 implementation libs.androidx.appcompat 49 implementation libs.androidx.browser 50 implementation libs.androidx.constraintlayout 51 implementation libs.androidx.core.ktx 52 implementation libs.kotlinx.coroutines 53 }