We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c70f377 commit 623ecd2Copy full SHA for 623ecd2
build.gradle
@@ -68,11 +68,14 @@ subprojects {
68
apply plugin: 'com.diffplug.spotless'
69
70
if (project.name != 'micrometer-bom') {
71
- if (!javaLanguageVersion.canCompileOrRun(17)) {
72
- logger.info("Disabling Error Prone because the JDK version is less than 17")
73
- tasks.withType(JavaCompile).configureEach {
+ tasks.withType(JavaCompile).configureEach {
+ if (!javaLanguageVersion.canCompileOrRun(17)) {
+ // Error Prone does not work with JDK <17
74
options.errorprone.enabled = false
75
}
76
+ if (System.env.CI != null) {
77
+ options.errorprone.disableAllWarnings = true
78
+ }
79
80
if ((project.name.contains('samples') && !project.name.contains('kotlin')) || project.name.contains('benchmarks')) {
81
apply plugin: 'java'
0 commit comments