See the discussion at https://github.com/gesellix/docker-client/issues/578 regarding the path forward and possible options/steps. - investigate/use Gradle's [variant](https://docs.gradle.org/current/userguide/variant_attributes.html) concept ([how to](https://docs.gradle.org/current/userguide/how_to_create_feature_variants_of_a_library.html)) - switch the default to Groovy 4.x on a short term (which also implies that the Gradle-Docker-Plugin will be upgraded)