build.gradle (1583B)
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.crash" 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 buildFeatures { 29 viewBinding = true 30 } 31 32 namespace = 'org.mozilla.samples.crash' 33 } 34 35 36 dependencies { 37 implementation project(':components:lib-crash') 38 implementation project(':components:lib-fetch-httpurlconnection') 39 implementation project(':components:service-glean') 40 implementation project(':components:support-base') 41 implementation project(':components:support-utils') 42 implementation project(':components:support-ktx') 43 44 implementation libs.androidx.appcompat 45 implementation libs.androidx.core.ktx 46 implementation libs.androidx.recyclerview 47 implementation libs.google.material 48 implementation libs.kotlinx.coroutines 49 implementation libs.mozilla.glean 50 }