Building Gradle sample in Travis

We should be sure that changes do not brake our Gradle configuration, so we are building both maven and Gradle examples in Travis.
Javadoc can prevent builds from succeeding so I think it should be tested.