Define range of port used to create Can we define range of ports that should be used by gradlewhile using ephemeral ports?


(Bartosz Jablonski) #1

Can we define range of ports that should be used by gradle (gradle plugins) while using

ephemeral ports?

Use case:

Recently I wanted to deploy my gradle project with groovy plugin into OpenShift however I run into problems due to lack of permission to open a certain port. Openshift let you use only a certain port range and during compileGroovy pahse a new random port is used that doesn’t fall into OpenShift Port range and that cause a problem. There is no way of defining what port can be used… Can we do something about it?


(Peter Niederwieser) #2

It’s not a supported feature, but one that might be worthwhile to support. Filed GRADLE-2970 to track this.