Task `:xmlTypes4:versionFile` of type `net.nemerosa.versioning.tasks.VersionFileTask`:
invocation of 'Task.project' at execution time is unsupported.
See https://docs.gradle.org/7.4.1/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
versionFiletask usesTask.projectwhich apparently as of Gradle 7.4.1 is not allowed