Fixes error "Cannot add task ':AnApp:testClasses' as a task with that name already exists." when using productFlavors