Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
* [Android] Update build.gradle to support external build scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
YorkShen committed Apr 3, 2019
1 parent 81a5902 commit 414e9dd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -40,6 +50,7 @@ subprojects {
targetSdkVersion=26
supportLibVersion="26.0.2"
fastjsonLibVersion="1.1.46.android"
armABIOnly = project.hasProperty("armeabiOnly")
}
}

Expand Down

0 comments on commit 414e9dd

Please sign in to comment.