-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
72 lines (61 loc) · 2.25 KB
/
build.gradle.kts
File metadata and controls
72 lines (61 loc) · 2.25 KB
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
plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id("org.jetbrains.kotlin.plugin.compose")
id("com.google.gms.google-services")
}
android {
namespace = "com.firebaseui.android.demo"
compileSdk = Config.SdkVersions.compile
defaultConfig {
applicationId = "com.firebaseui.android.demo"
minSdk = Config.SdkVersions.min
targetSdk = Config.SdkVersions.target
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
// Only sign with debug keystore if it exists (for local testing)
val debugKeystoreFile = file("${System.getProperty("user.home")}/.android/debug.keystore")
if (debugKeystoreFile.exists()) {
signingConfig = signingConfigs.getByName("debug")
}
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
}
buildFeatures {
compose = true
}
}
dependencies {
implementation(project(":auth"))
implementation(Config.Libs.Kotlin.jvm)
implementation(Config.Libs.Androidx.lifecycleRuntime)
implementation(Config.Libs.Androidx.Compose.activityCompose)
implementation(platform(Config.Libs.Androidx.Compose.bom))
implementation(Config.Libs.Androidx.Compose.ui)
implementation(Config.Libs.Androidx.Compose.uiGraphics)
implementation(Config.Libs.Androidx.Compose.toolingPreview)
implementation(Config.Libs.Androidx.Compose.material3)
// Facebook
implementation(Config.Libs.Provider.facebook)
testImplementation(Config.Libs.Test.junit)
androidTestImplementation(Config.Libs.Test.junitExt)
androidTestImplementation(platform(Config.Libs.Androidx.Compose.bom))
androidTestImplementation(Config.Libs.Test.composeUiTestJunit4)
debugImplementation(Config.Libs.Androidx.Compose.tooling)
implementation(platform(Config.Libs.Firebase.bom))
}