Synchronization of project files with gradle 5.0 fail with message "Failed to notify build listener".