-
Notifications
You must be signed in to change notification settings - Fork 45
/
build.gradle.kts
42 lines (38 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
import com.android.build.gradle.AppExtension
plugins {
id("com.android.application") version "8.7.3" apply false
id("org.jetbrains.kotlin.android") version "2.0.0" apply false
id("com.android.library") version "8.7.3" apply false
id("com.google.gms.google-services") version "4.4.2" apply false
id("com.google.firebase.crashlytics") version "3.0.2" apply false
id("org.jetbrains.kotlin.plugin.serialization") version "2.0.20"
id("com.android.test") version "8.7.3" apply false
id("androidx.baselineprofile") version "1.3.3"
id("org.jetbrains.kotlin.jvm") version "1.9.0" apply false
id("com.google.firebase.firebase-perf") version "1.4.2" apply false
}
allprojects {
pluginManager.withPlugin("android") {
configure<AppExtension> {
signingConfigs {
create("release") {
if (project.hasProperty("android.injected.signing.store.file")) {
storeFile = file(project.property("android.injected.signing.store.file").toString())
storePassword = project.property("android.injected.signing.store.password").toString()
keyAlias = project.property("android.injected.signing.key.alias").toString()
keyPassword = project.property("android.injected.signing.key.password").toString()
}
}
getByName("debug") {
storeFile = file("${project.rootDir.path}/${Signing.Debug.storeFile}")
storePassword = Signing.Debug.storePassword
keyAlias = Signing.Debug.keyAlias
keyPassword = Signing.Debug.keyPassword
}
}
}
}
}
tasks.register<Delete>("clean") {
delete(getLayout().buildDirectory)
}