Gradle plugin for disabling animations in global settings before UI tests and reenabling them afterwards