gradle 2.0 and 2.1

Closes #572.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>