mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-13 05:54:01 +01:00
Fix mixins sometimes not remapping
- Compress logo image
This commit is contained in:
parent
a42c027b6f
commit
17d8688fd7
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 New Issue
Block a user