在Gradle中實現和編譯有什么區別?在更新到AndroidStudio3.0并創建一個新項目后,我注意到build.gradle有一種新的方法可以添加新的依賴項,而不是compile的確有implementation而不是testCompile的確有testImplementation.例子: implementation 'com.android.support:appcompat-v7:25.0.0'
testImplementation 'junit:junit:4.12'而不是 compile 'com.android.support:appcompat-v7:25.0.0'
testCompile 'junit:junit:4.12'它們之間有什么區別,我應該使用什么?
添加回答
舉報
0/150
提交
取消