[go: nahoru, domu]

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

Commit

Permalink
Update build.gradle to fix potential security vulnerable (#2483)
Browse files Browse the repository at this point in the history
  • Loading branch information
YorkShen authored and Darin726 committed May 27, 2019
1 parent c3a5b00 commit de3df30
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 18 deletions.
16 changes: 7 additions & 9 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@

buildscript {
repositories {
jcenter {
url 'https://maven.aliyun.com/repository/jcenter'
}
mavenLocal()
maven {url 'http://maven.aliyun.com/nexus/content/groups/public/'}
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
Expand All @@ -41,18 +41,16 @@ subprojects {
}
}
repositories {
mavenLocal()
if(project.hasProperty('external_repositories')){
maven {
url external_repositories
}
}
maven {url 'http://maven.aliyun.com/nexus/content/groups/public/'}
mavenCentral()
jcenter()
maven {
url 'https://maven.google.com'
jcenter {
url 'https://maven.aliyun.com/repository/jcenter'
}
mavenCentral()
mavenLocal()
}
buildscript {
dependencies {
Expand Down
7 changes: 0 additions & 7 deletions android/sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,7 @@
*/

buildscript {
repositories {
mavenLocal()
maven {url 'http://maven.aliyun.com/nexus/content/groups/public/'}
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
if(!project.disableCov) {
classpath 'com.vanniktech:gradle-android-junit-jacoco-plugin:0.5.0'
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"type": "git",
"url": "git@github.com:apache/incubator-weex.git"
},
"homepage": "http://weex.apache.org/",
"homepage": "https://weex.apache.org/",
"bugs": {
"url": "https://issues.apache.org/jira/browse/WEEX/"
"url": "https://github.com/apache/incubator-weex/issues"
},
"private": true,
"keywords": [
Expand Down

0 comments on commit de3df30

Please sign in to comment.