While I read the book Learning Spark, I really missed a Gradle build file for my Spark job.
As a huge Gradle fan, I put together a build file. Concurrently I’m playing around with Spark and HBase. So here is my build.gradle, which also contains dependencies to HBase.
https://gist.github.com/claudioaltamura/2dc540945389f333125f
HTH!