title: How to use JPA metamodel with gradle, intellij IDEA?
body: <p>I am using java 8, spring boot 2.0.0, spring-data-jpa(spring-boot-starter-data-jpa), gradle, intellij. I've been trying to use JPA Metamodel, but having difficulty on finding how to configure. </p>
  
  <p>Metamodels for Entity classes aren't just generated.</p>
  
  <p>I guessed it would be simple, but now it seems that can be wrong. How can I use it? </p>