Fix mixins sometimes not remapping

- Compress logo image
This commit is contained in:
PepperCode1 2022-07-15 09:42:14 -07:00
parent dd18300b70
commit 2a715dfd5d
2 changed files with 11 additions and 6 deletions

View file

@ -136,10 +136,21 @@ mixin {
add sourceSets.main, 'flywheel.refmap.json' add sourceSets.main, 'flywheel.refmap.json'
} }
// Fix for SpongePowered/MixinGradle#38
afterEvaluate {
tasks.configureReobfTaskForReobfJar.mustRunAfter(tasks.compileJava)
}
tasks.withType(JavaCompile).configureEach { tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
} }
javadoc {
source = [sourceSets.main.allJava]
// prevent java 8's strict doclint for javadocs from failing builds
options.addStringOption('Xdoclint:none', '-quiet')
}
jar { jar {
manifest { manifest {
attributes([ attributes([
@ -155,12 +166,6 @@ jar {
} }
} }
javadoc {
source = [sourceSets.main.allJava]
// prevent java 8's strict doclint for javadocs from failing builds
options.addStringOption('Xdoclint:none', '-quiet')
}
java { java {
withSourcesJar() withSourcesJar()
withJavadocJar() withJavadocJar()

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 57 KiB