Updated build.gradle

Added test dependencies
Added JavaDoc and sources jar