title: QueryDsl with Springboot, gradle and IntelliJ
body: <p>I am trying to use QueryDsl with a Spring boot gradle project. Here is my <code>build.gradle</code>. <code>Q</code> prefixed entity classes are generated in <code>build/same/package/as/entities</code>. I am using intelliJ 2017.x and it could not identify these generated symbols. It would be nice to have these generated <code>src/main/generated/</code>.  Also, I could not find any documentation for <code>:jpa</code> within dependencies.
  Appreciate any help.</p>
  
  <pre><code>dependencies {
          compile("com.querydsl:querydsl-root:4.1.4")
          compile("com.querydsl:querydsl-jpa:4.1.4")
          compile("com.querydsl:querydsl-apt:4.1.4:jpa")
  }
  
  idea {
      module {
          sourceDirs += file('/generated')
          generatedSourceDirs += file('/generated')
      }
  }
  </code></pre>
  
  <p>Update:
  I tried using <a href="https://plugins.gradle.org/plugin/com.ewerk.gradle.plugins.annotation-processor" rel="nofollow noreferrer">ewerk plugin</a>, then the annotation processing for <code>lombok</code> fails.</p>
  
  <pre><code>plugins {
      id "com.ewerk.gradle.plugins.querydsl" version "1.0.9"
  }
  </code></pre>