Specify UTF-8 encoding in build.gradle

This commit is contained in:
jmp 2020-10-31 20:08:42 -07:00 committed by Alexander Söderberg
parent dbdafed273
commit d9735212a8
2 changed files with 7 additions and 4 deletions

View file

@ -1,3 +1,5 @@
import java.nio.charset.StandardCharsets
buildscript { buildscript {
repositories { repositories {
mavenCentral() mavenCentral()
@ -84,6 +86,7 @@ subprojects {
"CatchAndPrintStackTrace" "CatchAndPrintStackTrace"
) )
} }
options.encoding(StandardCharsets.UTF_8.name())
} }
repositories { repositories {

View file

@ -245,19 +245,19 @@ public final class MinecraftExceptionHandler<C> {
*/ */
public enum ExceptionType { public enum ExceptionType {
/** /**
* The input does not correspond to any known command * The input does not correspond to any known command ({@link InvalidSyntaxException})
*/ */
INVALID_SYNTAX, INVALID_SYNTAX,
/** /**
* The sender is not of the right type * The sender is not of the right type ({@link InvalidCommandSenderException})
*/ */
INVALID_SENDER, INVALID_SENDER,
/** /**
* The sender does not have permission to execute the command * The sender does not have permission to execute the command (@{@link NoPermissionException})
*/ */
NO_PERMISSION, NO_PERMISSION,
/** /**
* An argument failed to parse * An argument failed to parse ({@link ArgumentParseException})
*/ */
ARGUMENT_PARSING ARGUMENT_PARSING
} }