Skip to content

Commit e564820

Browse files
committed
fix: Finalize jar with reobfJar
1 parent e03a09e commit e564820

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cobblegen/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,9 @@ if (mcVersion < 260100) {
258258
}
259259
inputFile.set(shadowJar.archiveFile)
260260
} else if (projectPlugin.isLegacy) project.the<ObfuscationExtension>().apply {
261+
tasks.jar {
262+
finalizedBy(tasks.named("reobfJar"))
263+
}
261264
reobfuscate(tasks.named<ShadowJar>("shadowJar"), sourceSets.main.get())
262265
}
263266
}

0 commit comments

Comments
 (0)