-
Notifications
You must be signed in to change notification settings - Fork 17
/
build.gradle
25 lines (23 loc) Β· 992 Bytes
/
build.gradle
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
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.gms) apply false
alias(libs.plugins.kotlin.jvm) apply false
alias(libs.plugins.kotlin.serialization) apply false
alias(libs.plugins.compose.compiler) apply false
alias(libs.plugins.dagger.hilt) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.dependencyGuard) apply false
alias(libs.plugins.firebase.crashlytics) apply false
alias(libs.plugins.baselineprofile) apply false
}
apply from: "$rootDir/gradle/version.gradle"
Object propOrDef(String propertyName, Object defaultValue) {
def properties = new Properties()
def keyFile = rootProject.file("signing/key.properties")
if (keyFile.exists()) {
keyFile.withInputStream { stream -> properties.load(stream) }
}
def propertyValue = properties[propertyName]
return propertyValue != null ? propertyValue : defaultValue
}