HHH-6115 - jaxb generation should follow directory pattern
This commit is contained in:
parent
3853152782
commit
9d93e1188e
|
@ -33,7 +33,7 @@ manifest.mainAttributes(
|
||||||
|
|
||||||
sourceSets.main {
|
sourceSets.main {
|
||||||
originalJavaSrcDirs = java.srcDirs
|
originalJavaSrcDirs = java.srcDirs
|
||||||
jaxbTargetDir = file( "${buildDir}/generated-src/jaxb" )
|
jaxbTargetDir = file( "${buildDir}/generated-src/jaxb/main" )
|
||||||
java.srcDir jaxbTargetDir
|
java.srcDir jaxbTargetDir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ ideaModule {
|
||||||
}
|
}
|
||||||
|
|
||||||
task jaxb << {
|
task jaxb << {
|
||||||
jaxbTargetDir = file( "${buildDir}/generated-src/jaxb" )
|
jaxbTargetDir = file( "${buildDir}/generated-src/jaxb/main" )
|
||||||
jaxbTargetDir.mkdirs()
|
jaxbTargetDir.mkdirs()
|
||||||
|
|
||||||
ant.taskdef(name: 'xjc', classname: 'com.sun.tools.xjc.XJCTask', classpath: configurations.jaxb.asPath)
|
ant.taskdef(name: 'xjc', classname: 'com.sun.tools.xjc.XJCTask', classpath: configurations.jaxb.asPath)
|
||||||
|
|
Loading…
Reference in New Issue