Skip to content

Commit f72f8c8

Browse files
committed
use UTF-8 encoding for openapi generated code
1 parent 64f5d77 commit f72f8c8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

client/build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,16 @@ test {
3636
useJUnitPlatform()
3737
}
3838

39+
tasks.withType(JavaCompile) {
40+
configure(options) {
41+
options.encoding = 'UTF-8'
42+
}
43+
}
44+
45+
javadoc {
46+
options.encoding = 'UTF-8'
47+
}
48+
3949
sourceSets {
4050
main {
4151
java {

0 commit comments

Comments
 (0)