Updates android-gradle-plugin to 9.2.1 (lint 32.2.1) and migrates off the org.jetbrains.kotlin.android plugin to AGP's built-in Kotlin, pinning the Kotlin version on each root's buildscript classpath and applying the com.android.library/application plugins through the plugins DSL. Differential Revision: https://phabricator.services.mozilla.com/D309476
42 lines
1.2 KiB
Groovy
42 lines
1.2 KiB
Groovy
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
plugins {
|
|
id 'com.android.application'
|
|
alias(libs.plugins.dependency.analysis)
|
|
}
|
|
|
|
|
|
android {
|
|
compileSdk { version = release(config.compileSdkMajorVersion) { minorApiLevel = config.compileSdkMinorVersion } }
|
|
|
|
defaultConfig {
|
|
applicationId "org.mozilla.samples.dataprotect"
|
|
minSdk config.minSdkVersion
|
|
targetSdk config.targetSdkVersion
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled = false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
namespace = 'org.mozilla.samples.dataprotect'
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':components:lib-dataprotect')
|
|
implementation project(':components:support-ktx')
|
|
|
|
implementation libs.androidx.appcompat
|
|
implementation libs.androidx.recyclerview
|
|
implementation libs.kotlinx.coroutines
|
|
}
|