Closed clydebarrow closed 5 years ago
Thanks. I guess I haven't seen this locally or on CI as they're using UTF-8 by default. We shouldn't rely upon that though.
While it's apparently only the javadoc task that breaks when the build's run with a non-UTF-8 encoding, we should set the encoding on the JavaCompile tasks too.
Fixed in #592
This needs to be fixed in all maintained branches so we'll need to handle it separately to #592. I'll take care of that and then we can rebase #592 on top.
The presence of non-ascii characters in Javadoc annotations causes failures when executing the
spring-restdocs-core:javadoc
gradle task.The fix is to add
options.encoding = 'UTF-8'
to thejavadoc
closure inbuild.gradle
.