Example project to demonstrate a JSoup test project in Gradle.
jsoup is a Java library for working with real-world HTML. It provides a very convenient API for extracting and manipulating data, using the best of DOM, CSS, and jquery-like methods.
Installing jsoup is quite straight-forward. Since this is a Gradle project simply add the following line to your dependencies task in build.gradle
compile 'org.jsoup:jsoup:1.11.3'
Or...
You can download the jar from here