Transmode / gradle-docker

A Gradle plugin to build Docker images from the build script.
Apache License 2.0
648 stars 142 forks source link

Exposing UDP port #142

Closed Nashati closed 6 years ago

Nashati commented 6 years ago

Hi, does the plugin support exposing UDP ports? I see just 'void exposePort(Integer port)'.

Thanks.

bjornmagnusson commented 6 years ago

Yes, in master branch (not released in any published version). Then one can use void exposePort(String port) to expose udp ports.

Nashati commented 6 years ago

Thanks. So do you have any plans for publishing a new version?. if not, how can I use master version in my project?

bjornmagnusson commented 6 years ago

There are plans, but no specifics yet. For local development you can publish the master version into your local m2 repository using the gradle task publishToMavenLocal, and then reference 1.3-SNAPSHOT as version in your project. Aware of the issues with this...