Skip to content

Commit b087839

Browse files
committed
Add compiler option for errorprone
1 parent b8ea600 commit b087839

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,16 @@ subprojects {
3636
}
3737
}
3838

39+
// keep current time stamps in tar
3940
tasks.withType(Tar).configureEach {
4041
preserveFileTimestamps = true
4142
}
4243

44+
// fix or errorprone on java 21
45+
tasks.withType(JavaCompile).configureEach {
46+
options.compilerArgs += "-XDaddTypeAnnotationsToSymbol=true"
47+
}
48+
4349
test {
4450
useJUnitPlatform()
4551
}

0 commit comments

Comments
 (0)