|
|
|
@ -245,11 +245,12 @@ if (propFile.canRead()){
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (project.hasProperty('espresso') && System.console() != null) {
|
|
|
|
|
println '____________________WARNING_____________________'
|
|
|
|
|
println 'ALL YOUR CONTACTS WILL BE DELETED IN THE PROCESS'
|
|
|
|
|
println 'OF RUNNING THESE TESTS, TYPE ENTER TO CONTINUE'
|
|
|
|
|
System.console().readLine(':')
|
|
|
|
|
println "____________________WARNING_____________________"
|
|
|
|
|
println "ALL YOUR CONTACTS WILL BE DELETED IN THE PROCESS"
|
|
|
|
|
println "OF RUNNING THESE TESTS, TYPE 'espresso' TO CONTINUE"
|
|
|
|
|
|
|
|
|
|
def input = System.console().readLine(':')
|
|
|
|
|
if (input == 'espresso') {
|
|
|
|
|
android.productFlavors {
|
|
|
|
|
base {}
|
|
|
|
|
espresso {
|
|
|
|
@ -264,3 +265,4 @@ if (project.hasProperty('espresso') && System.console() != null) {
|
|
|
|
|
res.srcDirs = ['test/androidTestEspresso/res']
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|