summaryrefslogtreecommitdiff
path: root/platform/android/SCsub
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-09-20 09:30:46 +0200
committerGitHub <noreply@github.com>2017-09-20 09:30:46 +0200
commit96882c72240361e20dfeb55b9bb23560a27d995b (patch)
tree4c05d77a26ee66963d3b0a708cf9bcc753d6ed75 /platform/android/SCsub
parent46c28a0acab5e9d3f61299cee5d3c150a5bc90a0 (diff)
parentea7223d18151700650ec18c13f440e35dd2cd58b (diff)
Merge pull request #11432 from endragor/min-sdk-version-18
Set Android minSdkVersion to 18 [ci skip]
Diffstat (limited to 'platform/android/SCsub')
-rw-r--r--platform/android/SCsub8
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/android/SCsub b/platform/android/SCsub
index 87e7ee4747..e9a370869f 100644
--- a/platform/android/SCsub
+++ b/platform/android/SCsub
@@ -73,7 +73,7 @@ for x in env.android_gradle_plugins:
gradle_classpath = ""
for x in env.android_gradle_classpath:
gradle_classpath += "\t\tclasspath \"" + x + "\"\n"
-
+
gradle_res_dirs_text = ""
for x in env.android_res_dirs:
@@ -93,13 +93,13 @@ gradle_asset_dirs_text = ""
gradle_default_config_text = ""
-minSdk = 14
+minSdk = 18
targetSdk = 23
for x in env.android_default_config:
- if x.startswith("minSdkVersion") and int(x.split(" ")[-1]) < minSdk:
+ if x.startswith("minSdkVersion") and int(x.split(" ")[-1]) < minSdk:
x = "minSdkVersion " + str(minSdk)
- if x.startswith("targetSdkVersion") and int(x.split(" ")[-1]) > targetSdk:
+ if x.startswith("targetSdkVersion") and int(x.split(" ")[-1]) > targetSdk:
x = "targetSdkVersion " + str(targetSdk)
gradle_default_config_text += x + "\n\t\t"