#504 add apache dependencies to build.gradle instead of referencing direct jar files