Don't remap Forge with classpath (?)

This commit is contained in:
shedaniel
2023-11-22 15:02:33 +08:00
parent e3c5226da7
commit 00254ea567
2 changed files with 1 additions and 3 deletions

View File

@@ -226,7 +226,6 @@ public class MinecraftPatchedProvider {
}
private TinyRemapper buildRemapper(SharedServiceManager serviceManager, Path input) throws IOException {
Path[] libraries = TinyRemapperHelper.getMinecraftCompileLibraries(project);
final MappingOption mappingOption = MappingOption.forPlatform(getExtension());
TinyMappingsService mappingsService = getExtension().getMappingConfiguration().getMappingsService(serviceManager, mappingOption);
final String sourceNamespace = IntermediaryNamespaces.intermediary(project);
@@ -245,7 +244,6 @@ public class MinecraftPatchedProvider {
MappingsProviderVerbose.saveFile(remapper);
}
remapper.readClassPath(libraries);
remapper.prepareClasses();
return remapper;
}

View File

@@ -60,7 +60,7 @@ class FabricAPITest extends Specification implements GradleProjectTestTrait {
""".stripIndent()
}
// Set the version to something constant
// Change the plugin used
gradle.buildGradle.text = gradle.buildGradle.text
.replace('id "fabric-loom" version "1.4.1"', 'id "dev.architectury.loom"')
.replace('"fabric-loom"', '"dev.architectury.loom"') + mixinApPatch