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.
Travis builds are skipping JavaDoc by default (if the language if set to java). We should do the same hare. JavaDoc is slowing the build and polluting the logs. Or do you think it is useful?