在我下面显示的gradle中,我可以在发布应用程序之前从代码testImplementation'junit:junit:4.12'中删除吗?

时间:2018-02-09 09:55:47

标签: android gradle publishing

在android studio中,我可以从代码中删除:

testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-
core:3.0.1'

在发布申请之前?

dependencies {
 testImplementation 'junit:junit:4.12'
 androidTestImplementation 'com.android.support.test:runner:1.0.1'
 androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'

}

1 个答案:

答案 0 :(得分:1)

是的,你可以移动它们 并且不要忘记删除

stack.yaml

和测试文件夹(.. \ app \ src \ test)(.. \ app \ src \ androidTest)

相关问题