-
Notifications
You must be signed in to change notification settings - Fork 405
/
Copy pathbuild.gradle.kts
57 lines (49 loc) · 1.87 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
plugins {
id("com.android.application")
id("kotlin-android")
id("com.google.gms.google-services")
}
android {
namespace = "com.google.firebase.example.messaging"
compileSdk = 36
defaultConfig {
applicationId = "com.google.firebase.example.messaging"
minSdk = 21
targetSdk = 36
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled = true
}
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"
}
}
dependencies {
implementation("androidx.legacy:legacy-support-v4:1.0.0")
implementation("androidx.appcompat:appcompat:1.7.0")
// Import the Firebase BoM (see: https://firebase.google.com/docs/android/learn-more#bom)
implementation(platform("com.google.firebase:firebase-bom:33.12.0"))
// Import Firebase Cloud Messaging library
implementation("com.google.firebase:firebase-messaging")
// For an optimal experience using FCM, add the Firebase SDK
// for Google Analytics. This is recommended, but not required.
implementation("com.google.firebase:firebase-analytics")
// Used to store FCM Registration Token.
// This is recommended, but not required.
// See: https://firebase.google.com/docs/cloud-messaging/manage-tokens
implementation("com.google.firebase:firebase-firestore")
implementation("com.google.android.gms:play-services-auth:21.3.0")
implementation("androidx.work:work-runtime-ktx:2.10.0")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.7")
}