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

dev/0.11
Pyrofab 2019-12-20 21:28:37 +01:00 committed by modmuss50
parent c2d61875e1
commit 7a03264052
1 changed files with 2 additions and 2 deletions

View File

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