Load Ouinet settings from local.properties file

This commit is contained in:
Miguel 2022-06-01 16:58:47 -05:00
parent 78469ddf54
commit 7c56bb53fb

View File

@ -2,6 +2,9 @@ plugins {
id 'com.android.application'
}
Properties localProperties = new Properties()
localProperties.load(rootProject.file('local.properties').newDataInputStream())
android {
compileSdk 32
@ -13,6 +16,10 @@ android {
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
buildConfigField "String", "CACHE_PUB_KEY", localProperties['CACHE_PUB_KEY']
buildConfigField "String", "INJECTOR_CREDENTIALS", localProperties['INJECTOR_CREDENTIALS']
buildConfigField "String", "INJECTOR_TLS_CERT", localProperties['INJECTOR_TLS_CERT']
}
buildTypes {