Skip to content

Commit

Permalink
Optimized code.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoukekestar committed Oct 21, 2016
1 parent 3a1cf30 commit 8416a95
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 20 deletions.
27 changes: 9 additions & 18 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

apply plugin: 'com.android.application'

android {
Expand Down Expand Up @@ -26,15 +27,16 @@ android {
}

dependencies {

compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})

// android
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:recyclerview-v7:23.1.1'
compile 'com.android.support:support-v4:23.1.1'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
compile 'com.android.support:support-annotations:23.1.1'


// 方式1:SDK 自定义arr引入(构建playground的时候会在weex\android\sdk\build\outputs\aar\weex_sdk-release.aar)
// compile(name: 'commons-release', ext: 'aar')
Expand All @@ -49,20 +51,9 @@ dependencies {
// compile 'com.taobao.android:weex_sdk:0.5.1@aar'
compile 'com.taobao.android:weex_sdk:0.8.0.1'

// alibaba
compile 'com.alibaba:fastjson:1.1.46.android'
compile 'com.taobao.android:dexposed:0.1.8'

// facebook
// compile 'com.facebook.fresco:fresco:0.10.0'

// squareup
compile 'com.alibaba:fastjson:1.1.46.android'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.squareup.okhttp:okhttp:2.3.0'
compile 'com.squareup.okhttp:okhttp-ws:2.3.0'
compile 'com.squareup.okio:okio:1.0.1'

// others
compile 'com.jakewharton.scalpel:scalpel:1.1.2'
compile 'com.loopj.android:android-async-http:1.4.9@aar'
testCompile 'junit:junit:4.12'
}
3 changes: 1 addition & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:overrideLibrary="com.taobao.android.dexposed">
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down

0 comments on commit 8416a95

Please sign in to comment.