Last active
July 12, 2016 14:40
-
-
Save sebersole/9eb540ca8b00a29109a2ec812f771cc0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task generateEnversStaticMetamodel(type: JavaCompile) { | |
source = sourceSets.main.java | |
include "org/hibernate/envers/**" | |
classpath = sourceSets.main.runtimeClasspath + sourceSets.test.compileClasspath | |
options.compilerArgs = [ | |
"-proc:only", | |
"-processor", | |
"org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor" | |
] | |
destinationDir = new File( "${projectDir}/src/main/java" ) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment