【发布时间】:2017-06-07 01:19:51
【问题描述】:
正如在 Android Studio 3.0 (canary 3.0) 中所见,我们现在通过声明 implementation 而不是 compile 配置来添加 depedencies。
// Before
compile 'com.android.support:appcompat-v7:25.3.1'
// Currently
implementation 'com.android.support:appcompat-v7:25.3.1'
我们仍然可以使用compile,但我想了解:
-
implementation和compile配置有什么区别? - 为什么 Android Gradle 构建更改为默认使用
implementation?
【问题讨论】:
标签: android gradle android-gradle-plugin android-studio-3.0