Updated build.gradle as AbrarSyed suggested.