Change dependency to compatible with java6

Follow up: https://github.com/IGZnestorpina/apiary-java-language-template-test/pull/1