@@ -2,49 +2,49 @@ apply plugin: 'net.ltgt.errorprone'
22
33dependencies {
44 errorprone(' com.google.errorprone:error_prone_core:2.42.0' )
5- errorprone(' tech.picnic.error-prone-support:error-prone-contrib:0.26.0' )
5+ // errorprone('com.google.errorprone:error_prone_core:2.43.0') // bug: compiled by a more recent version of the Java Runtime (class file version 65.0 https://github.com/google/error-prone/issues/5365
6+ // errorprone('tech.picnic.error-prone-support:error-prone-contrib:0.26.0') // bug: https://github.com/google/error-prone/issues/5365
67}
78
89tasks. withType(JavaCompile ). configureEach {
910 options. errorprone {
11+ disableAllWarnings = true // https://github.com/diffplug/spotless/issues/2745
1012 disable( // consider fix, or reasoning.
1113 ' FunctionalInterfaceMethodChanged' ,
1214 ' JavaxInjectOnAbstractMethod' ,
1315 ' OverridesJavaxInjectableMethod' ,
1416 )
15- error(
16- ' AmbiguousJsonCreator' ,
17- ' AssertJNullnessAssertion' ,
18- ' AutowiredConstructor' ,
19- ' CanonicalAnnotationSyntax' ,
20- ' CollectorMutability' ,
21- ' ConstantNaming' ,
22- ' DirectReturn' ,
23- ' EmptyMethod' ,
24- ' ExplicitArgumentEnumeration' ,
25- ' ExplicitEnumOrdering' ,
26- ' IdentityConversion' ,
27- ' ImmutablesSortedSetComparator' ,
28- ' IsInstanceLambdaUsage' ,
29- ' MockitoMockClassReference' ,
30- ' MockitoStubbing' ,
31- ' NestedOptionals' ,
32- ' PrimitiveComparison' ,
33- ' RedundantStringConversion' ,
34- ' RedundantStringEscape' ,
35- ' ReturnValueIgnored' ,
36- ' SelfAssignment' ,
37- ' StringJoin' ,
38- ' StringJoining' ,
39- ' UnnecessarilyFullyQualified' ,
40- ' UnnecessaryLambda' ,
41- )
17+ // error(
18+ // 'AmbiguousJsonCreator',
19+ // 'AssertJNullnessAssertion',
20+ // 'AutowiredConstructor',
21+ // 'CanonicalAnnotationSyntax',
22+ // 'CollectorMutability',
23+ // 'ConstantNaming',
24+ // 'DirectReturn',
25+ // 'EmptyMethod',
26+ // 'ExplicitArgumentEnumeration',
27+ // 'ExplicitEnumOrdering',
28+ // 'IdentityConversion',
29+ // 'ImmutablesSortedSetComparator',
30+ // 'IsInstanceLambdaUsage',
31+ // 'MockitoMockClassReference',
32+ // 'MockitoStubbing',
33+ // 'NestedOptionals',
34+ // 'PrimitiveComparison',
35+ // 'RedundantStringConversion',
36+ // 'RedundantStringEscape',
37+ // 'ReturnValueIgnored',
38+ // 'SelfAssignment',
39+ // 'StringJoin',
40+ // 'StringJoining',
41+ // 'UnnecessarilyFullyQualified',
42+ // 'UnnecessaryLambda',
43+ // )
4244 // bug: this only happens when the file is dirty.
4345 // might be an up2date (caching) issue, as file is currently in corrupt state.
4446 // ForbidGradleInternal(import org.gradle.api.internal.project.ProjectInternal;)
45- errorproneArgs. add(' -XepExcludedPaths:' +
46- ' .*/SelfTest.java|' +
47- ' .*/GradleIntegrationHarness.java'
48- )
47+ // excludedPaths.add('.*/SelfTest.java');
48+ // excludedPaths.add('.*/GradleIntegrationHarness.java');
4949 }
5050}
0 commit comments