Removed redundant old-style parameter annotation.
Replaced deprecated @Component annotation with a newer @Parameter annotation.  Also corrected a Lint issue.
Added lint checks to Java compilation.  Upgraded plugins and dependencies.