HHH-9717 - Build script improvements
This commit is contained in:
parent
0993d78e97
commit
5fe83ba4c8
12
build.gradle
12
build.gradle
|
@ -238,17 +238,23 @@ subprojects { subProject ->
|
|||
}
|
||||
// exclude generated java sources - by explicitly setting the base source dir
|
||||
checkstyleMain.source = 'src/main/java'
|
||||
// because cfg package is a mess mainly from annotation stuff
|
||||
checkstyleMain.exclude '**/org/hibernate/cfg/**'
|
||||
checkstyleMain.exclude '**/org/hibernate/cfg/*'
|
||||
|
||||
findbugs {
|
||||
sourceSets = [ subProject.sourceSets.main, subProject.sourceSets.test ]
|
||||
ignoreFailures = true
|
||||
toolVersion = '3.0.1'
|
||||
// for now we need to set this to low so that FindBugs will actually report the DM_CONVERT_CASE warning we care about
|
||||
reportLevel = 'low'
|
||||
}
|
||||
// exclude generated java sources - by explicitly setting the base source dir
|
||||
findbugsMain.source = 'src/main/java'
|
||||
|
||||
|
||||
// because cfg package is a mess mainly from annotation stuff
|
||||
checkstyleMain.exclude '**/org/hibernate/cfg/**'
|
||||
checkstyleMain.exclude '**/org/hibernate/cfg/*'
|
||||
findbugsMain.exclude '**/org/hibernate/cfg/**'
|
||||
findbugsMain.exclude '**/org/hibernate/cfg/*'
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue