Fix remap jar not always running on subsequent builds
This commit is contained in:
		
							parent
							
								
									1dd8e47122
								
							
						
					
					
						commit
						7e59a90463
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -26,6 +26,7 @@ package net.fabricmc.loom.task; | |||
| 
 | ||||
| import net.fabricmc.loom.util.ModRemapper; | ||||
| import org.gradle.api.tasks.Input; | ||||
| import org.gradle.api.tasks.InputFile; | ||||
| import org.gradle.api.tasks.OutputFile; | ||||
| import org.gradle.api.tasks.TaskAction; | ||||
| 
 | ||||
|  | @ -37,7 +38,7 @@ public class RemapJar extends DefaultLoomTask { | |||
| 	public File destination; | ||||
| 	public boolean nestJar = true; | ||||
| 
 | ||||
| 	@Input | ||||
| 	@InputFile | ||||
| 	public File getJar() { | ||||
| 		return jar; | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue