METAGEN-100 Exclude generated JAXB classes from JavaDocs

This commit is contained in:
Hardy Ferentschik 2013-10-22 14:28:59 +02:00 committed by Strong Liu
parent f68234727b
commit 0c6b601006
1 changed files with 4 additions and 0 deletions

View File

@ -167,6 +167,10 @@ final int copyrightYear = new GregorianCalendar().get( Calendar.YEAR );
task javadocs(type: Javadoc) {
source = sourceSets.main.allJava
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'
configure( options ) {
stylesheetFile = rootProject.file( 'src/main/javadoc/stylesheet.css' )