this repo demonstrates how to reproduce issue bmuschko/gradle-docker-plugin#347
To reproduce the bug, just call
./gradlew version
When you remove the plugin org.asciidoctor.gradle.asciidoctor
from the plugins list the build works.
So this bug seems to be caused by defining multiple plugins, even though the asciidoctor plugin is not applied!!!