-
Notifications
You must be signed in to change notification settings - Fork 405
/
Copy pathbuild.gradle.kts
58 lines (51 loc) · 1.79 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
plugins {
id("com.android.application")
id("kotlin-android")
id("com.google.gms.google-services")
}
android {
namespace = "com.google.example.firestore"
compileSdk = 36
defaultConfig {
applicationId = "com.google.example.firestore"
minSdk = 23
targetSdk = 36
versionCode = 1
versionName = "1.0"
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
getByName("release") {
isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
}
lint {
warning += "InvalidPackage"
}
}
dependencies {
implementation("androidx.legacy:legacy-support-v4:1.0.0")
implementation("androidx.appcompat:appcompat:1.7.0")
implementation("androidx.constraintlayout:constraintlayout:2.2.1")
implementation("androidx.multidex:multidex:2.0.1")
// Import the BoM for the Firebase platform
implementation(platform("com.google.firebase:firebase-bom:33.12.0"))
// Declare the dependency for the Cloud Firestore library
// When using the BoM, you don't specify versions in Firebase library dependencies
implementation("com.google.firebase:firebase-firestore")
// Firebase / Play Services
implementation("com.google.firebase:firebase-auth")
implementation("com.google.android.gms:play-services-auth:21.3.0")
implementation("com.google.firebase:firebase-functions")
// GeoFire (for Geoqueries solution)
implementation("com.firebase:geofire-android-common:3.2.0")
}