Exclude generated sources from spotless
This commit is contained in:
parent
6a3fee83fa
commit
384bdbc19c
|
@ -472,9 +472,10 @@ spotless {
|
|||
//Don't fail during the check: rather than enforcing guidelines, we use this plugin to fix mistakes automatically.
|
||||
enforceCheck false
|
||||
java {
|
||||
licenseHeaderFile rootProject.file('spotless.license.java')
|
||||
targetExclude( "**/target/**/*.java" )
|
||||
licenseHeaderFile rootProject.file( 'spotless.license.java' )
|
||||
removeUnusedImports()
|
||||
indentWithTabs(4)
|
||||
indentWithTabs( 4 )
|
||||
trimTrailingWhitespace()
|
||||
endWithNewline()
|
||||
}
|
||||
|
|
|
@ -282,8 +282,3 @@ tasks.sourcesJar.dependsOn ':hibernate-core:generateGraphParser'
|
|||
tasks.sourcesJar.dependsOn ':hibernate-core:generateHqlParser'
|
||||
tasks.sourcesJar.dependsOn ':hibernate-core:generateSqlScriptParser'
|
||||
tasks.sourcesJar.dependsOn ':hibernate-core:generateOrderingParser'
|
||||
|
||||
tasks.spotlessJava.dependsOn ':hibernate-core:generateGraphParser'
|
||||
tasks.spotlessJava.dependsOn ':hibernate-core:generateHqlParser'
|
||||
tasks.spotlessJava.dependsOn ':hibernate-core:generateSqlScriptParser'
|
||||
tasks.spotlessJava.dependsOn ':hibernate-core:generateOrderingParser'
|
||||
|
|
Loading…
Reference in New Issue