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