diff options
| author | Paint_Ninja <PaintNinja@users.noreply.github.com> | 2022-03-06 14:53:15 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-06 14:53:15 +0000 |
| commit | c1b7b55c9e852ed6bee05d7028aa8b8e000c2e18 (patch) | |
| tree | 0856a6b17e5c40a086660c7bff54c44f9fd7d547 | |
| parent | 03379dea274fba774b828d9625d11adbf6403f0a (diff) | |
Use UTF-8 charset for Java compilation (#8486)
| -rw-r--r-- | build.gradle | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index b988736..4f1e84d 100644 --- a/build.gradle +++ b/build.gradle @@ -199,3 +199,7 @@ publishing { } } } + +tasks.withType(JavaCompile).configureEach { + options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation +} |
