Setting httpPort for Jetty Grails plugin -
i want change httpport default of 8080 jetty grails plugin. cannot set jetty httpport property via system property and/or gradle property.
system property: gradle jettyrun -djettyhttpport=9090 gradle property (gradle.properties): jettyhttpport=9090
right have make change gradle build script (like adding configuration task) make work. there jettypluginconventions function sethttpport(int) not know how implement it.
i had same problem, , documentation gradle general , vague. think gradle developers able full potential of great tool :)
right way add following gradle build script:
jettyrun { httpport = 9000 }
it looks cannot set value in command line. there issue that, gradle-1224, closed "won't fix" because
the jetty plugin has been deprecated , scheduled removed gradle 4.0. not going work on issue anymore.
Comments
Post a Comment