.
This commit is contained in:
parent
e372f23ae7
commit
0ca391381b
1 changed files with 13 additions and 16 deletions
|
|
@ -8,28 +8,25 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
def properties = new Properties()
|
def properties = new Properties()
|
||||||
def propertiesFile = rootProject.file("local.properties")
|
|
||||||
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace 'com.deniscerri.ytdlnis'
|
namespace 'com.deniscerri.ytdlnis'
|
||||||
compileSdk 33
|
compileSdk 33
|
||||||
|
|
||||||
if(propertiesFile.exists()){
|
try {
|
||||||
try {
|
def propertiesFile = rootProject.file("local.properties")
|
||||||
properties.load(new FileInputStream(propertiesFile))
|
properties.load(new FileInputStream(propertiesFile))
|
||||||
signingConfigs {
|
|
||||||
debug {
|
properties.load(new FileInputStream(propertiesFile))
|
||||||
storeFile file(properties["signingConfig.storeFile"])
|
signingConfigs {
|
||||||
storePassword properties["signingConfig.storePassword"]
|
debug {
|
||||||
keyAlias properties["signingConfig.keyAlias"]
|
storeFile file(properties["signingConfig.storeFile"])
|
||||||
keyPassword properties["signingConfig.keyPassword"]
|
storePassword properties["signingConfig.storePassword"]
|
||||||
}
|
keyAlias properties["signingConfig.keyAlias"]
|
||||||
|
keyPassword properties["signingConfig.keyPassword"]
|
||||||
}
|
}
|
||||||
}catch(IOException ignored){}
|
}
|
||||||
|
}catch(IOException ignored){}
|
||||||
}
|
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.deniscerri.ytdl"
|
applicationId "com.deniscerri.ytdl"
|
||||||
minSdk 23
|
minSdk 23
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue