David Pursehouse 6 years ago
parent
commit
245c2c09a0
  1. 78
      tools/BUILD

78
tools/BUILD

@ -25,61 +25,61 @@ java_package_configuration(
"-Xep:MissingCasesInEnumSwitch:ERROR", "-Xep:MissingCasesInEnumSwitch:ERROR",
"-Xep:ReferenceEquality:WARN", "-Xep:ReferenceEquality:WARN",
"-Xep:StringEquality:WARN", "-Xep:StringEquality:WARN",
"-Xep:WildcardImport:WARN", "-Xep:WildcardImport:ERROR",
"-Xep:AmbiguousMethodReference:WARN", "-Xep:AmbiguousMethodReference:WARN",
"-Xep:BadAnnotationImplementation:WARN", "-Xep:BadAnnotationImplementation:ERROR",
"-Xep:BadComparable:WARN", "-Xep:BadComparable:WARN",
"-Xep:BoxedPrimitiveConstructor:ERROR", "-Xep:BoxedPrimitiveConstructor:ERROR",
"-Xep:CannotMockFinalClass:WARN", "-Xep:CannotMockFinalClass:ERROR",
"-Xep:ClassCanBeStatic:ERROR", "-Xep:ClassCanBeStatic:ERROR",
"-Xep:ClassNewInstance:WARN", "-Xep:ClassNewInstance:WARN",
"-Xep:DefaultCharset:ERROR", "-Xep:DefaultCharset:ERROR",
"-Xep:DoubleCheckedLocking:WARN", "-Xep:DoubleCheckedLocking:ERROR",
"-Xep:ElementsCountedInLoop:WARN", "-Xep:ElementsCountedInLoop:ERROR",
"-Xep:EqualsHashCode:WARN", "-Xep:EqualsHashCode:ERROR",
"-Xep:EqualsIncompatibleType:WARN", "-Xep:EqualsIncompatibleType:ERROR",
"-Xep:ExpectedExceptionChecker:ERROR", "-Xep:ExpectedExceptionChecker:ERROR",
"-Xep:Finally:WARN", "-Xep:Finally:WARN",
"-Xep:FloatingPointLiteralPrecision:WARN", "-Xep:FloatingPointLiteralPrecision:ERROR",
"-Xep:FragmentInjection:WARN", "-Xep:FragmentInjection:ERROR",
"-Xep:FragmentNotInstantiable:WARN", "-Xep:FragmentNotInstantiable:ERROR",
"-Xep:FunctionalInterfaceClash:WARN", "-Xep:FunctionalInterfaceClash:ERROR",
"-Xep:FutureReturnValueIgnored:WARN", "-Xep:FutureReturnValueIgnored:WARN",
"-Xep:GetClassOnEnum:WARN", "-Xep:GetClassOnEnum:ERROR",
"-Xep:ImmutableAnnotationChecker:WARN", "-Xep:ImmutableAnnotationChecker:ERROR",
"-Xep:ImmutableEnumChecker:WARN", "-Xep:ImmutableEnumChecker:WARN",
"-Xep:IncompatibleModifiers:WARN", "-Xep:IncompatibleModifiers:ERROR",
"-Xep:InjectOnConstructorOfAbstractClass:WARN", "-Xep:InjectOnConstructorOfAbstractClass:ERROR",
"-Xep:InputStreamSlowMultibyteRead:WARN", "-Xep:InputStreamSlowMultibyteRead:ERROR",
"-Xep:IterableAndIterator:WARN", "-Xep:IterableAndIterator:ERROR",
"-Xep:JUnit3FloatingPointComparisonWithoutDelta:WARN", "-Xep:JUnit3FloatingPointComparisonWithoutDelta:ERROR",
"-Xep:JUnitAmbiguousTestClass:WARN", "-Xep:JUnitAmbiguousTestClass:ERROR",
"-Xep:LiteralClassName:WARN", "-Xep:LiteralClassName:ERROR",
"-Xep:MissingFail:ERROR", "-Xep:MissingFail:ERROR",
"-Xep:MissingOverride:WARN", "-Xep:MissingOverride:ERROR",
"-Xep:MutableConstantField:WARN", "-Xep:MutableConstantField:ERROR",
"-Xep:NarrowingCompoundAssignment:WARN", "-Xep:NarrowingCompoundAssignment:WARN",
"-Xep:NonAtomicVolatileUpdate:WARN", "-Xep:NonAtomicVolatileUpdate:ERROR",
"-Xep:NonOverridingEquals:WARN", "-Xep:NonOverridingEquals:WARN",
"-Xep:NullableConstructor:WARN", "-Xep:NullableConstructor:ERROR",
"-Xep:NullablePrimitive:WARN", "-Xep:NullablePrimitive:ERROR",
"-Xep:NullableVoid:WARN", "-Xep:NullableVoid:ERROR",
"-Xep:OperatorPrecedence:WARN", "-Xep:OperatorPrecedence:WARN",
"-Xep:OverridesGuiceInjectableMethod:WARN", "-Xep:OverridesGuiceInjectableMethod:ERROR",
"-Xep:PreconditionsInvalidPlaceholder:WARN", "-Xep:PreconditionsInvalidPlaceholder:ERROR",
"-Xep:ProtoFieldPreconditionsCheckNotNull:WARN", "-Xep:ProtoFieldPreconditionsCheckNotNull:ERROR",
"-Xep:ProtocolBufferOrdinal:WARN", "-Xep:ProtocolBufferOrdinal:ERROR",
"-Xep:RequiredModifiers:WARN", "-Xep:RequiredModifiers:ERROR",
"-Xep:ShortCircuitBoolean:WARN", "-Xep:ShortCircuitBoolean:WARN",
"-Xep:SimpleDateFormatConstant:WARN", "-Xep:SimpleDateFormatConstant:ERROR",
"-Xep:StaticGuardedByInstance:WARN", "-Xep:StaticGuardedByInstance:ERROR",
"-Xep:SynchronizeOnNonFinalField:WARN", "-Xep:SynchronizeOnNonFinalField:ERROR",
"-Xep:TruthConstantAsserts:WARN", "-Xep:TruthConstantAsserts:ERROR",
"-Xep:TypeParameterShadowing:WARN", "-Xep:TypeParameterShadowing:ERROR",
"-Xep:TypeParameterUnusedInFormals:WARN", "-Xep:TypeParameterUnusedInFormals:WARN",
"-Xep:URLEqualsHashCode:WARN", "-Xep:URLEqualsHashCode:ERROR",
"-Xep:UnsynchronizedOverridesSynchronized:WARN", "-Xep:UnsynchronizedOverridesSynchronized:ERROR",
"-Xep:WaitNotInLoop:WARN", "-Xep:WaitNotInLoop:ERROR",
], ],
packages = ["error_prone_packages"], packages = ["error_prone_packages"],
) )

Loading…
Cancel
Save