When I want to build the project using IntelliJ and Gradle I get two errors:
Execution failed for task ':javadoc'.
Javadoc generation failed.
and
error: unmappable character for encoding ASCII
W??hrung
Here I use the German Umlaut 'ä' on one of the file in the project.
Three of my work colleagues have exactly the same project using also IntelliJ and have the same setting in Preferences>Editor>File Encoding like i do. But the project is build successfully by my work colleagues.
I found a temporary solution to put the following lines in the build.gradle:
javadoc {
options.encoding = 'UTF-8'
}
Why I get the errors when I build the project?