We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6359e33 commit 4ec3492Copy full SHA for 4ec3492
1 file changed
build.gradle.kts
@@ -213,13 +213,17 @@ tasks {
213
214
register<Copy>("buildAndCollect") {
215
group = "build"
216
+
217
if (mod.obfuscated) {
218
val remapJar by existing(net.fabricmc.loom.task.RemapJarTask::class)
219
val remapSourcesJar by existing(net.fabricmc.loom.task.RemapSourcesJarTask::class)
220
from(remapJar, remapSourcesJar)
221
+ } else {
222
+ val sourcesJar by existing
223
+ from(jar, sourcesJar)
224
}
225
- into(rootProject.layout.buildDirectory.file("libs/${project.property("mod.version")}"))
226
+ into(rootProject.layout.buildDirectory.file("libs/${mod.version}"))
227
dependsOn("build")
228
229
0 commit comments