This commit is contained in:
deniscerri 2023-04-15 14:37:46 +02:00
parent e372f23ae7
commit 0ca391381b
No known key found for this signature in database
GPG key ID: 95C43D517D830350

View file

@ -8,15 +8,15 @@ 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)) properties.load(new FileInputStream(propertiesFile))
signingConfigs { signingConfigs {
debug { debug {
@ -27,9 +27,6 @@ android {
} }
} }
}catch(IOException ignored){} }catch(IOException ignored){}
}
defaultConfig { defaultConfig {
applicationId "com.deniscerri.ytdl" applicationId "com.deniscerri.ytdl"
minSdk 23 minSdk 23