-
Notifications
You must be signed in to change notification settings - Fork 7.3k
/
build.gradle.kts
77 lines (67 loc) · 2.43 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
import com.android.build.gradle.internal.tasks.factory.dependsOn
import com.google.firebase.perf.plugin.FirebasePerfExtension
plugins {
id("com.android.application")
id("kotlin-android")
id("com.google.gms.google-services")
id("com.google.firebase.firebase-perf")
}
tasks {
check.dependsOn("assembleDebugAndroidTest")
}
android {
namespace = "com.google.firebase.quickstart.perfmon"
compileSdk = 35
defaultConfig {
applicationId = "com.google.firebase.quickstart.perfmon"
minSdk = 21
targetSdk = 35
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")
}
getByName("debug") {
// configure<FirebasePerfExtension> {
// Set this flag to 'false' to disable @AddTrace annotation processing and
// automatic HTTP/S network request monitoring
// for a specific build variant at compile time.
// setInstrumentationEnabled(true)
// }
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
}
buildFeatures {
viewBinding = true
}
lint {
// TODO(thatfiredev): Remove this once
// https://github.com/bumptech/glide/issues/4940 is fixed
disable.add("NotificationPermission")
}
}
dependencies {
implementation(project(":internal:lintchecks"))
implementation(project(":internal:chooserx"))
// Import the Firebase BoM (see: https://firebase.google.com/docs/android/learn-more#bom)
implementation(platform("com.google.firebase:firebase-bom:33.5.1"))
// Firebase Performance Monitoring
implementation("com.google.firebase:firebase-perf")
implementation("com.google.android.material:material:1.12.0")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.6")
implementation("com.github.bumptech.glide:glide:4.12.0")
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
}