diff options
author | Ramesh Ravone <ramesh.maran443@gmail.com> | 2017-10-07 15:10:17 +0530 |
---|---|---|
committer | Ramesh Ravone <ramesh.maran443@gmail.com> | 2017-10-07 15:10:17 +0530 |
commit | a4cee286e66293dab1a377c83971764fe7d480a2 (patch) | |
tree | e1d53341b94083f704bc9cc5b8631f2bfcc3ce89 /platform/android | |
parent | bd10a002402de6e3a69a17af604784ea7f5b3330 (diff) |
flatDir support [Android]
Diffstat (limited to 'platform/android')
-rw-r--r-- | platform/android/SCsub | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/platform/android/SCsub b/platform/android/SCsub index e9a370869f..7fa0262359 100644 --- a/platform/android/SCsub +++ b/platform/android/SCsub @@ -46,8 +46,18 @@ gradle_baseout = open_utf8(abspath + "/java/build.gradle", "w") gradle_text = gradle_basein.read() - +gradle_maven_flat_text = "" +if len(env.android_flat_dirs) > 0: + gradle_maven_flat_text += "flatDir {\n" + gradle_maven_flat_text += "\tdirs " + for x in env.android_flat_dirs: + gradle_maven_flat_text += "'" + x + "'," + + gradle_maven_flat_text = gradle_maven_flat_text[:-1] + gradle_maven_flat_text += "\n\t}\n" + gradle_maven_repos_text = "" +gradle_maven_repos_text += gradle_maven_flat_text if len(env.android_maven_repos) > 0: gradle_maven_repos_text += "" |