Fix runClient/Server tasks not always including the mod
parent
b315d9a553
commit
927c3f22cc
|
@ -316,6 +316,7 @@ public class AbstractPlugin implements Plugin<Project> {
|
|||
remapJarTask.getInput().set(jarTask.getArchivePath());
|
||||
}
|
||||
|
||||
extension.addUnmappedMod(jarTask.getArchivePath().toPath());
|
||||
remapJarTask.getAddNestedDependencies().set(true);
|
||||
|
||||
remapJarTask.doLast(task -> project1.getArtifacts().add("archives", remapJarTask.getArchivePath()));
|
||||
|
|
|
@ -124,8 +124,6 @@ public class RemapJarTask extends Jar {
|
|||
}
|
||||
}
|
||||
|
||||
extension.addUnmappedMod(input);
|
||||
|
||||
/*try {
|
||||
if (modJar.exists()) {
|
||||
Files.move(modJar, modJarUnmappedCopy);
|
||||
|
|
Loading…
Reference in New Issue