Skip to content

Commit 2f13cb5

Browse files
Darin726YorkShen
authored andcommitted
* [Android] Support arm64 by upgrading NDK to 16 and Gradle Plugin for Android to 3.2.1 (apache#2561)
1 parent 5bafd00 commit 2f13cb5

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

build.gradle

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ apply plugin: 'com.android.library'
77
android {
88

99
compileSdkVersion project.compileSdkVersion
10-
buildToolsVersion project.buildToolsVersion
10+
// buildToolsVersion project.buildToolsVersion
1111
resourcePrefix "weexcomm"
1212

1313
defaultConfig {
@@ -41,32 +41,32 @@ android {
4141
}
4242

4343
dependencies {
44-
compile fileTree(dir: 'libs', include: ['*.jar'])
45-
compile project(':weex_sdk')
46-
compile "com.android.support:support-v4:${project.supportLibVersion}"
47-
compile "com.android.support:appcompat-v7:${project.supportLibVersion}"
48-
// compile project(':weex_sdk')
49-
compile 'com.squareup.picasso:picasso:2.5.2'
50-
compile 'com.facebook.fresco:fresco:0.10.0'
51-
compile 'com.taobao.android.weex_inspection:protocol:1.1.4.1'
44+
implementation fileTree(dir: 'libs', include: ['*.jar'])
45+
implementation project(':weex_sdk')
46+
implementation "com.android.support:support-v4:${project.supportLibVersion}"
47+
implementation "com.android.support:appcompat-v7:${project.supportLibVersion}"
48+
// implementation project(':weex_sdk')
49+
implementation 'com.squareup.picasso:picasso:2.5.2'
50+
implementation 'com.facebook.fresco:fresco:0.10.0'
51+
implementation 'com.taobao.android.weex_inspection:protocol:1.1.4.1'
5252

53-
provided 'com.taobao.android:weex_analyzer:0.1.0.5'
54-
provided 'com.squareup.okhttp:okhttp:2.3.0'
55-
provided 'com.squareup.okhttp:okhttp-ws:2.3.0'
56-
provided "com.alibaba:fastjson:${project.fastjsonLibVersion}"
53+
compileOnly 'com.taobao.android:weex_analyzer:0.1.0.5'
54+
compileOnly 'com.squareup.okhttp:okhttp:2.3.0'
55+
compileOnly 'com.squareup.okhttp:okhttp-ws:2.3.0'
56+
compileOnly "com.alibaba:fastjson:${project.fastjsonLibVersion}"
5757

58-
testCompile 'junit:junit:4.12'
59-
testCompile 'org.hamcrest:hamcrest-core:1.3'
60-
testCompile 'org.javassist:javassist:3.20.0-GA'
61-
testCompile 'org.mockito:mockito-core:1.10.19'
62-
testCompile 'org.objenesis:objenesis:2.1'
63-
testCompile 'org.powermock:powermock-core:1.6.4'
64-
testCompile 'org.powermock:powermock-api-mockito:1.6.4'
65-
testCompile 'org.powermock:powermock-module-junit4-common:1.6.4'
66-
testCompile 'org.powermock:powermock-module-junit4:1.6.4'
67-
testCompile 'org.powermock:powermock-module-junit4-legacy:1.6.4'
68-
testCompile 'org.powermock:powermock-module-testng:1.6.4'
69-
testCompile 'org.robolectric:robolectric:3.0-rc3'
58+
testImplementation 'junit:junit:4.12'
59+
testImplementation 'org.hamcrest:hamcrest-core:1.3'
60+
testImplementation 'org.javassist:javassist:3.20.0-GA'
61+
testImplementation 'org.mockito:mockito-core:1.10.19'
62+
testImplementation 'org.objenesis:objenesis:2.1'
63+
testImplementation 'org.powermock:powermock-core:1.6.4'
64+
testImplementation 'org.powermock:powermock-api-mockito:1.6.4'
65+
testImplementation 'org.powermock:powermock-module-junit4-common:1.6.4'
66+
testImplementation 'org.powermock:powermock-module-junit4:1.6.4'
67+
testImplementation 'org.powermock:powermock-module-junit4-legacy:1.6.4'
68+
testImplementation 'org.powermock:powermock-module-testng:1.6.4'
69+
testImplementation 'org.robolectric:robolectric:3.0-rc3'
7070
}
7171

7272
if(file('../license/LICENSE').exists()){

0 commit comments

Comments
 (0)