I have a server, written in Java, that's my application, and I want to run some tests on it. I'm using gradle to manage dependencies and build tasks and stuff, so I want to use that for this too. I need to start up the server and then run my unit tests which make a bunch of HTTP requests against it and then ideally even shut down the server when the tests are done. So I tried adding to my build.gradle I have a server, written in Java, that's my app