I'm not sure if it's correct not to export hamcrest here. Make sure all the classes you did NOT put in `test` do not use hamcrest. Otherwise this should be an *exported*, *compile* dependency.