Merge pull request #7697 from bxdxnn/misc/keystore

Allow changing keystore path
This commit is contained in:
Benoit Marty
2026-09-25 16:45:46 +02:00
committed by GitHub
4 changed files with 20 additions and 7 deletions
@@ -117,3 +117,12 @@ fun Project.defaultLintOptions(lint: Lint) = lint.apply {
ignoreTestFixturesSources = true
checkGeneratedSources = false
}
fun Project.environmentOrGradleValue(
environmentVariableName: String,
gradlePropertyName: String,
defaultValue: String? = null,
): String? = providers.environmentVariable(environmentVariableName)
.orElse(providers.gradleProperty(gradlePropertyName))
.orNull
?: defaultValue