*/
@TaskAction
public void doTask() throws Exception
{
// do stuff.
ReobfExceptor exc = null;
File srg = File.createTempFile("reobf-default", ".srg", getTemporaryDir());
File extraSrg = File.createTempFile("reobf-extra", ".srg", getTemporaryDir());;
UserExtension ext = (UserExtension) getProject().getExtensions().getByName(Constants.EXT_NAME_MC);
if (ext.isDecomp())
{
exc = getExceptor();
exc.buildSrg(getSrg(), srg);
}
else
Files.copy(getSrg(), srg);
// generate extraSrg