# Javadoc warnings on travis, none on local gradle runs

**URL:** <https://travis-ci.community/t/javadoc-warnings-on-travis-none-on-local-gradle-runs/4617>\
**Category:** Java\
**Created:** [August 7, 2019, 4:20pm UTC](https://travis-ci.community/t/javadoc-warnings-on-travis-none-on-local-gradle-runs/4617 "2019-08-07T16:20:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![akoehn](https://avatars.discourse-cdn.com/v4/letter/a/b3f665/32.png) [@akoehn](https://travis-ci.community/u/akoehn)\
**Post date:** [August 7, 2019, 4:20pm UTC](https://travis-ci.community/t/javadoc-warnings-on-travis-none-on-local-gradle-runs/4617/1 "2019-08-07T16:20:23Z")

</div>

I wanted to [clean up old javadoc warnings on a project](https://github.com/coli-saar/alto/commit/f77b5a919c2a89f6291de9826846dc95ddaa7903) and succeeded locally: when running `./gradlew assembly`, no warnings are emitted.

However, javadoc creation on travis seems to be much stricter as [the build fails with several warnings](https://travis-ci.org/coli-saar/alto/builds/568926190). Both builds (travis and local) use the same Java version. It seems to me that travis injects some hidden configuration but I was unable to find out anything about it.

I would in fact prefer the “normal” gradle build to behave as the travis one does as it generates sensible additional warnings. Does anybody have any pointers on how to make both builds behave the same?
