Load Ouinet settings from local.properties file
This commit is contained in:
parent
78469ddf54
commit
7c56bb53fb
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user