METAGEN-100 Exclude generated JAXB classes from JavaDocs
This commit is contained in:
parent
f68234727b
commit
0c6b601006
|
@ -167,6 +167,10 @@ final int copyrightYear = new GregorianCalendar().get( Calendar.YEAR );
|
||||||
task javadocs(type: Javadoc) {
|
task javadocs(type: Javadoc) {
|
||||||
source = sourceSets.main.allJava
|
source = sourceSets.main.allJava
|
||||||
destinationDir = javadocDir
|
destinationDir = javadocDir
|
||||||
|
excludes = ['org/hibernate/jpamodelgen/xml/jaxb/**']
|
||||||
|
// need to update the javadic classpath and add the main compilation directory to avoid missing classes warnigns due to the
|
||||||
|
// above excludes
|
||||||
|
classpath = files( configurations.compile, "${buildDir}/classes/main" )
|
||||||
maxMemory = '512m'
|
maxMemory = '512m'
|
||||||
configure( options ) {
|
configure( options ) {
|
||||||
stylesheetFile = rootProject.file( 'src/main/javadoc/stylesheet.css' )
|
stylesheetFile = rootProject.file( 'src/main/javadoc/stylesheet.css' )
|
||||||
|
|
Loading…
Reference in New Issue