Merge pull request #3291 from mrezai/fix-gradle-repositories
Fix maven repositories bug
This commit is contained in:
commit
9e143a52ba
2 changed files with 6 additions and 5 deletions
|
@ -45,8 +45,11 @@ gradle_text = gradle_basein.read()
|
|||
|
||||
gradle_maven_repos_text=""
|
||||
|
||||
for x in env.android_maven_repos:
|
||||
gradle_maven_repos_text+=x+"\n"
|
||||
if len(env.android_maven_repos) > 0:
|
||||
gradle_maven_repos_text+="maven {\n"
|
||||
for x in env.android_maven_repos:
|
||||
gradle_maven_repos_text+="\t\t"+x+"\n"
|
||||
gradle_maven_repos_text+="\t}\n"
|
||||
|
||||
gradle_maven_dependencies_text=""
|
||||
|
||||
|
|
|
@ -12,9 +12,7 @@ apply plugin: 'com.android.application'
|
|||
allprojects {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven {
|
||||
$$GRADLE_REPOSITORY_URLS$$
|
||||
}
|
||||
$$GRADLE_REPOSITORY_URLS$$
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue