I'm not that Gradle fluent. :) What I wanted was to set this option for createDockerContainer, but only if gradle is asked to run task serveWebsite. So the option wouldn't be set on pre/post-commits, where it might cause them to fail (if port 4000 is already taken).
[ Full content available at: https://github.com/apache/beam/pull/6533 ] This message was relayed via gitbox.apache.org for devnull@infra.apache.org