akhikhl / gretty

Advanced gradle plugin for running web-apps on jetty and tomcat.
MIT License
654 stars 174 forks source link

Wrong documentation about the gradle-parameter servletContainer #433

Open FlorianKirmaier opened 6 years ago

FlorianKirmaier commented 6 years ago

Documentation: http://akhikhl.github.io/gretty-doc/Gretty-configuration.html Sourcecode: https://github.com/akhikhl/gretty/blob/master/libs/gretty/src/main/groovy/org/akhikhl/gretty/ServletContainerConfig.groovy

I was trying to use jetty 9.4 According to documentation, i have to use the following setting in build.gradle: servletContainer = "jetty94" But the correct setting would be: servletContainer = "jetty9.4"

The difference is the dot between the first and second number.

javabrett commented 6 years ago

This was fixed in https://github.com/akhikhl/gretty-doc/commit/dd3b0f8fe53af1cf122f57bdfb78b9cd5622b42c but the site is not republished.

In the fork this is published at https://gretty-gradle-plugin.github.io/gretty-doc/Gretty-configuration.html .