Getting error after upgrading from 3.5 to 5.0 gradle version

Getting error after upgrading from 3.5 to 5.0 gradle version.

Could not find method execute() for arguments [] on task ':abcd' of type org.gradle.api.tasks.Copy.

My recommendation is to not skip major versions.

  • update to the latest 3.x version
  • fix all deprecation messages
  • update to the latest 4.x version
  • fix all deprecation messages
  • update to 5.x

That should usually give a smooth update path.
If you want to go the hard way though, at least make sure you follow the upgrade notes in the user guide.

1 Like