Explicitly specify character encoding for Windows users
@@ -170,6 +170,7 @@ subprojects {
javadoc {
dependsOn delombok
source = delombok.outputDir
+ options.encoding = 'UTF-8'
options.locale = 'en_US'
options.addStringOption('Xdoclint:none', '-quiet')
// To create javadoc for generated method&constructor, delombok & run javadoc on delombok.outputDir.
@@ -205,6 +206,9 @@ subprojects {
options.compilerArgs << '-Xlint:all' << '-Xlint:deprecation' << '-Werror' << '-Xlint:-processing' << '-parameters'
options.encoding = 'UTF-8'
}
+ compileTestJava {
+ options.encoding = 'UTF-8'
+ }
project.plugins.withType(SpringBootPlugin) {
bootRun {
