title: What is the proper gradle setup for JPA Static Metamodel Generator?
body: <p>I'm trying to use the JPA Static Metamodel generator. I found <a href="https://blog.jj-it-services.de/en/jpa-metamodel-gradle/" rel="nofollow noreferrer">a tutorial page</a> that explains how to set it up in Gradle. I also found <a href="https://stackoverflow.com/a/36748070/9452">a stackoverflow comment</a> that says to use the same classpath.  It is:</p>
  
  <pre><code>classpath "gradle.plugin.at.comm_unity.gradle.plugins:jpamodelgen-plugin:1.1.1"
  </code></pre>
  
  <p>However, when I attempt to use this, I get a gradle build error:</p>
  
  <pre><code>Error:Could not find gradle.plugin.at.comm_unity.gradle.plugins:jpamodelgen-plugin:1.1.1.
  Searched in the following locations:
  https://repo1.maven.org/maven2/gradle/plugin/at/comm_unity/gradle/plugins/jpamodelgen-plugin/1.1.1/jpamodelgen-plugin-1.1.1.pom
  https://repo1.maven.org/maven2/gradle/plugin/at/comm_unity/gradle/plugins/jpamodelgen-plugin/1.1.1/jpamodelgen-plugin-1.1.1.jar
  https://jcenter.bintray.com/gradle/plugin/at/comm_unity/gradle/plugins/jpamodelgen-plugin/1.1.1/jpamodelgen-plugin-1.1.1.pom
  https://jcenter.bintray.com/gradle/plugin/at/comm_unity/gradle/plugins/jpamodelgen-plugin/1.1.1/jpamodelgen-plugin-1.1.1.jar
  </code></pre>
  
  <p>What is the problem? Is this location out-of-date? If so, what's the new one?</p>