@@ -7,7 +7,7 @@ apply plugin: 'com.android.library'
7
7
android {
8
8
9
9
compileSdkVersion project. compileSdkVersion
10
- buildToolsVersion project. buildToolsVersion
10
+ // buildToolsVersion project.buildToolsVersion
11
11
resourcePrefix " weexcomm"
12
12
13
13
defaultConfig {
@@ -41,32 +41,32 @@ android {
41
41
}
42
42
43
43
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'
52
52
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} "
57
57
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'
70
70
}
71
71
72
72
if (file(' ../license/LICENSE' ). exists()){
0 commit comments