mirror of
https://github.com/AChep/keyguard-app.git
synced 2025-01-07 20:21:42 +01:00
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
plugins {
|
|
alias(libs.plugins.android.library)
|
|
alias(libs.plugins.kotlin.android)
|
|
}
|
|
|
|
android {
|
|
compileSdk = libs.versions.androidCompileSdk.get().toInt()
|
|
namespace = "com.artemchep.test"
|
|
|
|
defaultConfig {
|
|
minSdk = libs.versions.androidMinSdk.get().toInt()
|
|
targetSdk = libs.versions.androidTargetSdk.get().toInt()
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "11"
|
|
}
|
|
|
|
val accountManagementDimension = "accountManagement"
|
|
flavorDimensions += accountManagementDimension
|
|
productFlavors {
|
|
maybeCreate("playStore").apply {
|
|
dimension = accountManagementDimension
|
|
}
|
|
maybeCreate("none").apply {
|
|
dimension = accountManagementDimension
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.androidx.test.espresso.core)
|
|
implementation(libs.androidx.test.ext.junit)
|
|
implementation(libs.androidx.test.uiautomator)
|
|
}
|