Merge remote-tracking branch 'upstream/dev/0.2.7' into dev/0.2.7
This commit is contained in:
		
						commit
						1536d0142f
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -38,6 +38,7 @@ import java.util.jar.JarFile; | ||||||
| import java.util.zip.ZipEntry; | import java.util.zip.ZipEntry; | ||||||
| 
 | 
 | ||||||
| import com.google.gson.Gson; | import com.google.gson.Gson; | ||||||
|  | import com.google.gson.GsonBuilder; | ||||||
| import com.google.gson.JsonArray; | import com.google.gson.JsonArray; | ||||||
| import com.google.gson.JsonObject; | import com.google.gson.JsonObject; | ||||||
| import org.apache.commons.io.IOUtils; | import org.apache.commons.io.IOUtils; | ||||||
|  | @ -56,7 +57,7 @@ import net.fabricmc.tinyremapper.OutputConsumerPath; | ||||||
| import net.fabricmc.tinyremapper.TinyRemapper; | import net.fabricmc.tinyremapper.TinyRemapper; | ||||||
| 
 | 
 | ||||||
| public class ModProcessor { | public class ModProcessor { | ||||||
| 	private static final Gson GSON = new Gson(); | 	private static final Gson GSON = new GsonBuilder().setPrettyPrinting().create(); | ||||||
| 
 | 
 | ||||||
| 	public static void processMod(File input, File output, Project project, Configuration config, ResolvedArtifact artifact) throws IOException { | 	public static void processMod(File input, File output, Project project, Configuration config, ResolvedArtifact artifact) throws IOException { | ||||||
| 		if (output.exists()) { | 		if (output.exists()) { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue