title: Customize working directory run gradle run task / project structure for web application
body: <p>I'm working on small web app and I want to serve static files. I'm using <code>application</code> plugin. Part of it is <code>distribution</code> plugin which copies <code>src/main/dist</code> files into distribution zip. Running application with <code>gradlew run</code> uses project dir as working directory. For this reason static files are not found.</p>
  
  <p>Is there a simple way to change working directory for <code>run</code> task?</p>
  
  <p>Is there any other recommended structure for web app gradle project setup?</p>