Fixed some issues with javadoc task

This commit is contained in:
Rsl1122 2020-01-24 12:22:41 +02:00
parent ba34d2ad9a
commit 0ee2d9a1e0
3 changed files with 5 additions and 4 deletions

View File

@ -49,9 +49,9 @@ allprojects {
}
// Fix for UTF-8 files showing with wrong encoding when compiled on Windows machines.
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
compileJava { options.encoding = "UTF-8" }
tasks.withType(JavaCompile) { options.encoding = 'UTF-8' }
javadoc { options.encoding = 'UTF-8' }
}
println "Building artifact for version $fullVersion"

View File

@ -59,6 +59,7 @@ public final class Reflection {
* @param target - the target type.
* @param name - the name of the field, or NULL to ignore.
* @param fieldType - a compatible field type.
* @param <T> Type of the field.
* @return The field accessor.
*/
public static <T> FieldAccessor<T> getField(Class<?> target, String name, Class<T> fieldType) {

View File

@ -25,7 +25,7 @@ public enum LangCode {
CUSTOM("Custom", ""),
EN("English", "Rsl1122"),
CN("Simplified Chinese", "f0rb1d (佛壁灯) & qsefthuopq"),
CN("Simplified Chinese", "f0rb1d (\u4f5b\u58c1\u706f) & qsefthuopq"),
DE("Deutch", "Eyremba & fuzzlemann & Morsmorse"),
FI("Finnish", "Rsl1122"),
FR("French", "CyanTech & Aurelien"),