gradle fixes
This commit is contained in:
parent
13fcd545cb
commit
e372f23ae7
2 changed files with 32 additions and 21 deletions
|
|
@ -8,23 +8,28 @@ plugins {
|
|||
}
|
||||
|
||||
def properties = new Properties()
|
||||
try {
|
||||
def propertiesFile = rootProject.file("local.properties")
|
||||
properties.load(new FileInputStream(propertiesFile))
|
||||
}catch(IOException ignored){}
|
||||
def propertiesFile = rootProject.file("local.properties")
|
||||
|
||||
|
||||
android {
|
||||
namespace 'com.deniscerri.ytdlnis'
|
||||
compileSdk 33
|
||||
|
||||
signingConfigs {
|
||||
debug {
|
||||
storeFile file(properties["signingConfig.storeFile"])
|
||||
storePassword properties["signingConfig.storePassword"]
|
||||
keyAlias properties["signingConfig.keyAlias"]
|
||||
keyPassword properties["signingConfig.keyPassword"]
|
||||
}
|
||||
if(propertiesFile.exists()){
|
||||
try {
|
||||
properties.load(new FileInputStream(propertiesFile))
|
||||
signingConfigs {
|
||||
debug {
|
||||
storeFile file(properties["signingConfig.storeFile"])
|
||||
storePassword properties["signingConfig.storePassword"]
|
||||
keyAlias properties["signingConfig.keyAlias"]
|
||||
keyPassword properties["signingConfig.keyPassword"]
|
||||
}
|
||||
}
|
||||
}catch(IOException ignored){}
|
||||
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.deniscerri.ytdl"
|
||||
minSdk 23
|
||||
|
|
|
|||
|
|
@ -1,18 +1,24 @@
|
|||
//pluginManagement {
|
||||
// repositories {
|
||||
//gradlePluginPortal()
|
||||
// google()
|
||||
// mavenCentral()
|
||||
// }
|
||||
//}
|
||||
|
||||
pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
maven { url 'https://jitpack.io' }
|
||||
maven { url "https://dl.bintray.com/kodein-framework/Kodein-DI" }
|
||||
}
|
||||
}
|
||||
dependencyResolutionManagement {
|
||||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
maven { url 'https://jitpack.io' }
|
||||
maven { url "https://dl.bintray.com/kodein-framework/Kodein-DI" }
|
||||
}
|
||||
}
|
||||
|
||||
rootProject.name = "YTDLnis"
|
||||
include ':app', ':benchmark'
|
||||
|
||||
include ':common', ':app', ':library', ':ffmpeg'
|
||||
include ':benchmark'
|
||||
|
|
|
|||
Loading…
Reference in a new issue