forked from firebase/FirebaseUI-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
67 lines (55 loc) · 2.23 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
// NOTE: this project uses Gradle Kotlin DSL. More common build.gradle instructions can be found in
// the main README.
android {
defaultConfig {
multiDexEnabled = true
}
buildTypes {
named("release").configure {
// For the purposes of the sample, allow testing of a proguarded release build
// using the debug key
signingConfig = signingConfigs["debug"]
postprocessing {
isRemoveUnusedCode = true
isRemoveUnusedResources = true
isObfuscate = true
isOptimizeCode = true
}
}
}
lintOptions {
disable("ResourceName", "MissingTranslation", "DuplicateStrings")
}
compileOptions {
setSourceCompatibility(JavaVersion.VERSION_1_8)
setTargetCompatibility(JavaVersion.VERSION_1_8)
}
}
dependencies {
implementation(Config.Libs.Androidx.design)
implementation(Config.Libs.Androidx.multidex)
implementation(project(":auth"))
implementation(project(":firestore"))
implementation(project(":database"))
implementation(project(":storage"))
implementation(Config.Libs.Provider.facebook)
// Needed to override Facebook
implementation(Config.Libs.Androidx.cardView)
implementation(Config.Libs.Androidx.customTabs)
implementation(Config.Libs.Misc.glide)
annotationProcessor(Config.Libs.Misc.glideCompiler)
// Used for FirestorePagingActivity
implementation(Config.Libs.Androidx.paging)
// The following dependencies are not required to use the Firebase UI library.
// They are used to make some aspects of the demo app implementation simpler for
// demonstrative purposes, and you may find them useful in your own apps; YMMV.
implementation(Config.Libs.Misc.permissions)
implementation(Config.Libs.Misc.butterKnife)
implementation(Config.Libs.Androidx.constraint)
annotationProcessor(Config.Libs.Misc.butterKnifeCompiler)
debugImplementation(Config.Libs.Misc.leakCanary)
debugImplementation(Config.Libs.Misc.leakCanaryFragments)
releaseImplementation(Config.Libs.Misc.leakCanaryNoop)
testImplementation(Config.Libs.Misc.leakCanaryNoop)
}
apply(plugin = "com.google.gms.google-services")