-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathbuild.gradle
More file actions
23 lines (21 loc) Β· 895 Bytes
/
build.gradle
File metadata and controls
23 lines (21 loc) Β· 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) 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.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
}