title: Spring Boot + Spring-Loaded (IntelliJ, Gradle)
body: <p>I'd like to use hot swap with my Spring Boot project. Somehow I am not able to make it working by running it in my IDE (IntelliJ), despite of having this topic covered by <a href="http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#howto-reload-springloaded-gradle-and-intellij">documentation</a>. I simply run the class with my main method with VM attributes:</p>
  
  <pre><code>-javaagent:/path/to/jar/springloaded.jar -noverify
  </code></pre>
  
  <p>My question is, how do I make it work? :-)</p>
  
  <p>Further question is how to use spring loaded with Gradle and IntelliJ. I find it quite inconvenient to force the developer to download the JAR manually, place it somewhere and point to it with a JVM parameter. Is there any better way (should I configure my own task which does the job and run it from my IDE as a Gradle task)?</p>