HHH-8733 - General build cleanup
This commit is contained in:
parent
50d17da870
commit
f9aa122b5e
13
build.gradle
13
build.gradle
|
@ -202,19 +202,6 @@ subprojects { subProject ->
|
|||
}
|
||||
}
|
||||
|
||||
// alter the compileTestJava (src/test/java javac task) to add AP hooks
|
||||
compileTestJava {
|
||||
options.compilerArgs += [
|
||||
"-s", "$sourceSets.test.aptGeneratedSourceDir.absolutePath"
|
||||
]
|
||||
|
||||
doFirst {
|
||||
if ( !sourceSets.test.aptGeneratedSourceDir.exists() ) {
|
||||
sourceSets.test.aptGeneratedSourceDir.mkdirs()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
task generateSources(type: Task)
|
||||
|
||||
jar {
|
||||
|
|
|
@ -69,8 +69,19 @@ jar {
|
|||
}
|
||||
|
||||
|
||||
// alter the compileTestJava (src/test/java javac task) to add AP hooks
|
||||
compileTestJava {
|
||||
classpath += configurations.hibernateJpaModelGenTool
|
||||
|
||||
options.compilerArgs += [
|
||||
"-s", "$sourceSets.test.aptGeneratedSourceDir.absolutePath"
|
||||
]
|
||||
|
||||
doFirst {
|
||||
if ( !sourceSets.test.aptGeneratedSourceDir.exists() ) {
|
||||
sourceSets.test.aptGeneratedSourceDir.mkdirs()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -30,6 +30,12 @@ sourceSets.main {
|
|||
resources.srcDir xsdDir
|
||||
}
|
||||
|
||||
compileTestJava {
|
||||
options.compilerArgs += [
|
||||
"-proc:none"
|
||||
]
|
||||
}
|
||||
|
||||
jar {
|
||||
manifest {
|
||||
attributes 'Implementation-Title' : '${project.name}',
|
||||
|
|
Loading…
Reference in New Issue