mirror of
https://github.com/helloworld1/FreeOTPPlus
synced 2025-10-06 00:23:07 +02:00
81 lines
2.3 KiB
Plaintext
81 lines
2.3 KiB
Plaintext
plugins {
|
|
id("com.android.application")
|
|
kotlin("android")
|
|
kotlin("kapt")
|
|
id("dagger.hilt.android.plugin")
|
|
}
|
|
|
|
android {
|
|
compileSdk = rootProject.extra["compileSdkVersion"] as Int
|
|
defaultConfig {
|
|
testInstrumentationRunnerArguments += mapOf("clearPackageData" to "true")
|
|
versionCode = rootProject.extra["versionCode"] as Int
|
|
versionName = rootProject.extra["versionName"] as String
|
|
minSdk = rootProject.extra["minSdkVersion"] as Int
|
|
targetSdk = rootProject.extra["targetSdkVersion"] as Int
|
|
applicationId = "org.liberty.android.freeotpplus"
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
|
|
buildTypes {
|
|
getByName("debug") {
|
|
applicationIdSuffix = ".debug"
|
|
isDebuggable = true
|
|
resValue("string", "app_name", "FreeOTP+ Debug")
|
|
}
|
|
getByName("release") {
|
|
resValue("string", "app_name", "FreeOTP+")
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
|
|
buildFeatures {
|
|
viewBinding = true
|
|
}
|
|
|
|
testOptions {
|
|
execution = "ANDROIDX_TEST_ORCHESTRATOR"
|
|
animationsDisabled = true
|
|
}
|
|
namespace = "org.fedorahosted.freeotp"
|
|
testNamespace = "org.fedorahosted.freeotp.uitest"
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":token-images"))
|
|
implementation(project(":text-drawable"))
|
|
implementation(project(":token-data"))
|
|
implementation(libs.appCompat)
|
|
implementation(libs.material)
|
|
implementation(libs.zxing)
|
|
implementation(libs.gson)
|
|
implementation(libs.glide)
|
|
implementation(libs.coreKtx)
|
|
implementation(libs.activityKtx)
|
|
implementation(libs.bundles.kotlinxCoroutines)
|
|
implementation(kotlin("stdlib-jdk8"))
|
|
|
|
implementation(libs.bundles.cameraX)
|
|
implementation(libs.biometric)
|
|
|
|
implementation(libs.hiltAndroid)
|
|
kapt(libs.hiltAndroidCompiler)
|
|
|
|
androidTestImplementation(libs.bundles.androidxTest)
|
|
androidTestUtil(libs.androidxTestOrchestrator)
|
|
|
|
androidTestImplementation(libs.bundles.androidxJunit)
|
|
androidTestImplementation(libs.androidxTruth)
|
|
androidTestImplementation(libs.bundles.espresso)
|
|
}
|