-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathbuild.gradle
More file actions
26 lines (24 loc) Β· 1 KB
/
Copy pathbuild.gradle
File metadata and controls
26 lines (24 loc) Β· 1 KB
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
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.manifestShield) apply false
alias(libs.plugins.proguardShield) apply false
alias(libs.plugins.baselineprofile) apply false
id "moop.module.rules"
}
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
}