Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
Static build tools can help find bugs before they become a problem. These 3 static tools can start finding issues.
- spotbugs (previously findbugs) - https://spotbugs.github.io/
- errorprone - http://errorprone.info/
- forbiddenapis - https://github.com/policeman-tools/forbidden-apis
Planning to enable these static build tools in warn only mode and then start fixing the warnings in follow on issues module by module. There will be a property that determines if the build fails. After warnings are fixed then can start failing the build for new failures.
Discussion from knox-dev mailing list: