Skip to content

Commit

Permalink
Don't remap Forge with classpath (?)
Browse files Browse the repository at this point in the history
  • Loading branch information
shedaniel committed Nov 22, 2023
1 parent e3c5226 commit 00254ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ private void fillClientExtraJar() throws IOException {
}

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);
Expand All @@ -245,7 +244,6 @@ private TinyRemapper buildRemapper(SharedServiceManager serviceManager, Path inp
MappingsProviderVerbose.saveFile(remapper);
}

remapper.readClassPath(libraries);
remapper.prepareClasses();
return remapper;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00254ea

Please sign in to comment.