Revert gradle changes for UI tests

This commit is contained in:
Milos Kozak 2020-02-25 21:30:44 +01:00
parent 3b9ea53cc4
commit 8326630811

View file

@ -342,7 +342,7 @@ task copyLibs(dependsOn: downloadAndUnzipFile, type: Copy) {
task full_clean(type: Delete) { task full_clean(type: Delete) {
delete file("src/main/jniLibs") delete file("src/main/jniLibs")
} }
/*
// Run 'adb' shell command to clear application data of main app for 'debug' variant // Run 'adb' shell command to clear application data of main app for 'debug' variant
task clearMainAppData(type: Exec) { task clearMainAppData(type: Exec) {
// we have to iterate to find the 'debug' variant to obtain a variant reference // we have to iterate to find the 'debug' variant to obtain a variant reference
@ -372,7 +372,7 @@ tasks.whenTaskAdded { task ->
task.dependsOn(clearMainAppData) task.dependsOn(clearMainAppData)
} }
} }
*/
clean.dependsOn full_clean clean.dependsOn full_clean
preBuild.dependsOn copyLibs preBuild.dependsOn copyLibs