Make mod* work with non-empty classifiers again, fixes #162 (#163)

This commit is contained in:
Pyrofab 2019-12-20 21:28:37 +01:00 committed by modmuss50
parent c2d61875e1
commit 7a03264052

View file

@ -77,8 +77,8 @@ public class ModCompileRemapper {
File sources = findSources(dependencies, artifact);
String remappedLog = group + ":" + name + ":" + version + classifierSuffix + " (" + mappingsSuffix + ")";
String remappedNotation = String.format("%s@%s", notation, mappingsSuffix);
String remappedFilename = String.format("%s-%s@%s", name, version + classifierSuffix.replace(':', '-'), mappingsSuffix);
String remappedNotation = String.format("%s:%s:%s@%s%s", group, name, version, mappingsSuffix, classifierSuffix);
String remappedFilename = String.format("%s-%s@%s", name, version, mappingsSuffix + classifierSuffix.replace(':', '-'));
project.getLogger().info(":providing " + remappedLog);
File modStore = extension.getRemappedModCache();