diff --git a/android/build.gradle b/android/build.gradle index 2fe2adf36e..c6d415fb84 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -17,8 +17,18 @@ plugins { } subprojects { + if(project.hasProperty('external_script')){ + for(item in external_script.split()) { + apply from: item + } + } repositories { mavenLocal() + if(project.hasProperty('external_repositories')){ + maven { + url external_repositories + } + } maven {url 'http://maven.aliyun.com/nexus/content/groups/public/'} mavenCentral() jcenter() @@ -40,6 +50,7 @@ subprojects { targetSdkVersion=26 supportLibVersion="26.0.2" fastjsonLibVersion="1.1.46.android" + armABIOnly = project.hasProperty("armeabiOnly") } }