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

Commit de3df30

Browse files
YorkShenDarin726
authored andcommitted
Update build.gradle to fix potential security vulnerable (#2483)
1 parent c3a5b00 commit de3df30

File tree

3 files changed

+9
-18
lines changed

3 files changed

+9
-18
lines changed

android/build.gradle

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919

2020
buildscript {
2121
repositories {
22+
jcenter {
23+
url 'https://maven.aliyun.com/repository/jcenter'
24+
}
2225
mavenLocal()
23-
maven {url 'http://maven.aliyun.com/nexus/content/groups/public/'}
24-
mavenCentral()
25-
jcenter()
2626
}
2727
dependencies {
2828
classpath 'com.android.tools.build:gradle:2.3.3'
@@ -41,18 +41,16 @@ subprojects {
4141
}
4242
}
4343
repositories {
44-
mavenLocal()
4544
if(project.hasProperty('external_repositories')){
4645
maven {
4746
url external_repositories
4847
}
4948
}
50-
maven {url 'http://maven.aliyun.com/nexus/content/groups/public/'}
51-
mavenCentral()
52-
jcenter()
53-
maven {
54-
url 'https://maven.google.com'
49+
jcenter {
50+
url 'https://maven.aliyun.com/repository/jcenter'
5551
}
52+
mavenCentral()
53+
mavenLocal()
5654
}
5755
buildscript {
5856
dependencies {

android/sdk/build.gradle

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,7 @@
1818
*/
1919

2020
buildscript {
21-
repositories {
22-
mavenLocal()
23-
maven {url 'http://maven.aliyun.com/nexus/content/groups/public/'}
24-
mavenCentral()
25-
jcenter()
26-
}
2721
dependencies {
28-
classpath 'com.android.tools.build:gradle:2.3.3'
2922
if(!project.disableCov) {
3023
classpath 'com.vanniktech:gradle-android-junit-jacoco-plugin:0.5.0'
3124
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"type": "git",
1212
"url": "[email protected]:apache/incubator-weex.git"
1313
},
14-
"homepage": "http://weex.apache.org/",
14+
"homepage": "https://weex.apache.org/",
1515
"bugs": {
16-
"url": "https://issues.apache.org/jira/browse/WEEX/"
16+
"url": "https://github.com/apache/incubator-weex/issues"
1717
},
1818
"private": true,
1919
"keywords": [

0 commit comments

Comments
 (0)