Merge pull request #3 from watsoncj/gradle

build with gradle
Minor gradle fixes.

 * Changed Statsd to StatsD to conform with naming standard of project.
 * Added findbugs and jacoco plugins.
 * Made the jacoco plugin run on build.
 * Made the javadoc task run on build.
 * Explicitly specified the tool version for checkstyle and used an up-to-date checkstyle file.
 * Added default task.
 * Updated version to 2.4.0-SNAPSHOT in light of recent changes.
 * Split the slf4j dependency so that under compile it only depends on slf4j-api.
 * Test still depends on slf4j-jdk for simplicity.
 * Changed to junit:junit:4.11 from junit:junit-dep:4.11, since with 4.11
junit-dep has been deprecated.
 * Added the findbugs annotations and JSR305 annotations.
 * Enabled Xlint:all on compile.
 * Made the wrapper version explicit.
Merge pull request #4 from dclements/gradle

Minor gradle fixes.
Marking some dependencies as provided or optional.

 * The metrics library is now marked as `provided`, so that there's no accidental
upgrade.
 * Marked the annotation-only libraries as optional, so that people who are using
them won't implicitly import them.
Moving the metrics 2.+ libraries into a subproject. This way it can be maintained adjacent
to a metrics3.+ library since the changes in these are so radical.
Merge pull request #5 from dclements/provided

Modifications to prepare for version 3.
codahale 3 support with tests

  - sub-package metrics 3 project
  - port metrics-graphite for statsd usage
Merge pull request #6 from watsoncj/metrics-3.0.0-RC1

Metrics 3 Support
rename package of metrics3 functionality
readme updates
update readme
add logging for unresolvable hostname
Merge pull request #8 from watsoncj/logging

add logging for unresolvable hostname
Merge branch 'package-rename' of https://github.com/watsoncj/metrics-statsd into watsoncj-package-rename
Reformatting for consistency between metrics2 and metrics3.
Various cleanups, mostly related to checkstyle.

Build changes:
 * Made the build task the default from the main directory.
 * Minor formatting changes for clarity.
 * Made findbugs work only on the main source set for the moment.
 * Enabled showWarnings for checkstyle for metrics3 so that people won't ignore it.

Checkstyle-related changes:
 * Made the project conform to the checkstyle format defined.
 * Modified the defined format to add warning suppression with comments.
 * Modified the defined format to remove the FinalClass check, since
it wasn't relevant for this project.

Other changes:
 * Project was double-reporting all IOExceptions at different warning levels. This has been corrected.
 * Silenced warnings when gauges aren't numbers. This fits with the standard by the Graphite reporter.
 * Added supported for BigInteger and BigDecimal.
 * Made the tests more permissive (they were testing that p95 was reported before p99, and really statsd
doesn't care at that level of detail). Now they are less implementation-specific.
 * Named the logger consistently between files.
 * Added a basic set of JSR305 annotations.
Merge pull request #9 from dclements/checkstyle

Cleanup with an emphasis on checkstyle.
Specify UTF-8 as the explicit charset for OutputStreamWriter so we aren't as platform dependent (fixes a FindBugs warning).
Making the UTF-8 charset we use a static final variable to match what we do in the Metrics 3 version.
Merge pull request #10 from mkeesey/readytalk-master

Specify UTF-8 as the explicit charset for OutputStreamWriter in the version 2 library