Currently we use `tasks.create` and `getByName()` for getting tasks. We should switch to the `register` and `named` function. This is a breaking change! It is available in Gradle 4.9+ only!