Skip to content

Commit a916f3f

Browse files
committed
Improve build
1 parent 2349f6b commit a916f3f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

buildSrc/src/main/groovy/java-module.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,14 @@ test {
4343
// create a single "compile" task
4444
tasks.register( "compile" ).configure {
4545
dependsOn tasks.withType( JavaCompile )
46+
dependsOn tasks.withType( ProcessResources )
4647
}
4748

4849
tasks.withType( JavaCompile ).configureEach {javaCompile->
4950
options.encoding = "UTF-8"
5051
options.warnings false
52+
53+
dependsOn tasks.named( "spotlessApply" )
5154
}
5255

5356
// To force the build produce the same byte-for-byte archives and hence make Hibernate Models build reproducible.

0 commit comments

Comments
 (0)