Migrate plugin and dependency versions to a Gradle version catalog and update dependencies to their latest available versions.