adding gradle build, compromising on hamcrest matchers