mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-12-27 07:26:48 +01:00
Fix mixins sometimes not remapping
- Compress logo image
This commit is contained in:
parent
dd18300b70
commit
2a715dfd5d
2 changed files with 11 additions and 6 deletions
17
build.gradle
17
build.gradle
|
@ -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 |
Loading…
Reference in a new issue