Commit 1ad96f43 authored by justin's avatar justin Committed by GitHub

Merge pull request #564 from lucky-chen/feature/compile_android_depencies

[Android] Boost修改依赖方式,使用compileOnly方式。解决打包时,递归依赖出现版本号冲突问题。
parents 64193c5a 25c78d72
...@@ -35,11 +35,11 @@ android { ...@@ -35,11 +35,11 @@ android {
} }
dependencies { dependencies {
implementation 'com.android.support:appcompat-v7:28.0.0' compileOnly 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0' compileOnly 'com.android.support:design:28.0.0'
implementation 'com.android.support:support-v4:28.0.0' compileOnly 'com.android.support:support-v4:28.0.0'
implementation 'android.arch.lifecycle:common-java8:1.1.1' implementation 'android.arch.lifecycle:common-java8:1.1.1'
implementation 'com.alibaba:fastjson:1.2.41' compileOnly 'com.alibaba:fastjson:1.2.41'
} }
......
...@@ -59,5 +59,8 @@ dependencies { ...@@ -59,5 +59,8 @@ dependencies {
androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.alibaba:fastjson:1.2.41'
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment