This commit is contained in:
Leijurv 2019-01-30 11:54:38 -08:00
parent 90fa347fc2
commit 22bd5be5a9
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -48,7 +48,7 @@ apply plugin: 'org.spongepowered.mixin'
sourceCompatibility = targetCompatibility = '1.8' sourceCompatibility = targetCompatibility = '1.8'
compileJava { compileJava {
sourceCompatibility = targetCompatibility = '1.8' sourceCompatibility = targetCompatibility = '1.8'
options.encoding = "UTF-8" options.encoding = "UTF-8" // allow emoji in comments :^)
} }
sourceSets { sourceSets {
@ -102,7 +102,7 @@ mixin {
javadoc { javadoc {
options.addStringOption('Xwerror', '-quiet') // makes the build fail on travis when there is a javadoc error options.addStringOption('Xwerror', '-quiet') // makes the build fail on travis when there is a javadoc error
options.linkSource true options.linkSource true
options.encoding "UTF-8" options.encoding "UTF-8" // allow emoji in comments :^)
source += sourceSets.api.allJava source += sourceSets.api.allJava
classpath += sourceSets.api.compileClasspath classpath += sourceSets.api.compileClasspath
} }