Skip to content

Commit

Permalink
Add gradle voodoo to workaround MixinGradle bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tterrag1098 authored and pupnewfster committed Mar 6, 2024
1 parent 470255a commit f7c29f8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ minecraft {
compileJava.options.encoding = 'UTF-8'
javadoc.options.encoding = 'UTF-8'

// Workaround for SpongePowered/MixinGradle#38
afterEvaluate {
tasks.configureReobfTaskForReobfJar.mustRunAfter(tasks.compileJava)
tasks.configureReobfTaskForReobfJarJar.mustRunAfter(tasks.compileJava)
}

jar {
manifest {
attributes(["Specification-Title": "ctm",
Expand Down

0 comments on commit f7c29f8

Please sign in to comment.