summaryrefslogtreecommitdiff
path: root/platform/android/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/SCsub')
-rw-r--r--platform/android/SCsub7
1 files changed, 5 insertions, 2 deletions
diff --git a/platform/android/SCsub b/platform/android/SCsub
index 30cb9d9660..3d645de38f 100644
--- a/platform/android/SCsub
+++ b/platform/android/SCsub
@@ -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=""