diff --git a/hystrix-examples-webapp/README.md b/hystrix-examples-webapp/README.md index 98ae39de5..6e71e4a23 100644 --- a/hystrix-examples-webapp/README.md +++ b/hystrix-examples-webapp/README.md @@ -9,8 +9,8 @@ The [hystrix-dashboard](https://github.com/Netflix/Hystrix/tree/master/hystrix-d ``` $ git clone git@github.com:Netflix/Hystrix.git $ cd Hystrix/hystrix-examples-webapp -$ ../gradlew jettyRun -> Building > :hystrix-examples-webapp:jettyRun > Running at http://localhost:8989/hystrix-examples-webapp +$ ../gradlew appRun +> Building > :hystrix-examples-webapp:appRun > Running at http://localhost:8989/hystrix-examples-webapp ``` Once running, open http://localhost:8989/hystrix-examples-webapp. diff --git a/hystrix-examples-webapp/build.gradle b/hystrix-examples-webapp/build.gradle index 7961aa09a..9957ee99b 100644 --- a/hystrix-examples-webapp/build.gradle +++ b/hystrix-examples-webapp/build.gradle @@ -1,5 +1,5 @@ apply plugin: 'war' -apply plugin: 'jetty' +apply from: 'https://raw.github.com/akhikhl/gretty/master/pluginScripts/gretty.plugin' dependencies { compileApi project(':hystrix-core') @@ -8,6 +8,7 @@ dependencies { compileApi project(':hystrix-metrics-event-stream') } -jettyRun { +gretty { httpPort = 8989 + servletContainer = 'jetty9' }