Fix mixins sometimes not remapping

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

View file

@ -136,10 +136,21 @@ mixin {
add sourceSets.main, 'flywheel.refmap.json'
}
// Fix for SpongePowered/MixinGradle#38
afterEvaluate {
tasks.configureReobfTaskForReobfJar.mustRunAfter(tasks.compileJava)
}
tasks.withType(JavaCompile).configureEach {
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 {
manifest {
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 {
withSourcesJar()
withJavadocJar()

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 57 KiB