forked from helloworld1/FreeOTPPlus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
80 lines (67 loc) · 2.28 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
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)
}