✨ Specify UTF-8 encoding in build.gradle
This commit is contained in:
parent
dbdafed273
commit
d9735212a8
2 changed files with 7 additions and 4 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue