Skip to content

Commit

Permalink
Make mappings a runtime-only dependency (#891)
Browse files Browse the repository at this point in the history
  • Loading branch information
Su5eD authored Dec 15, 2022
1 parent d27e94b commit 94efd7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ private File findPom(@Nullable String mapping, String rand) throws IOException {
int idx = mapping.lastIndexOf('_');
String channel = mapping.substring(0, idx);
String version = mapping.substring(idx + 1);
builder.dependencies().add(MCPRepo.getMappingDep(channel, version), "compile"); //Runtime?
builder.dependencies().add(MCPRepo.getMappingDep(channel, version), "runtime");
}

Patcher patcher = parent;
Expand Down

0 comments on commit 94efd7e

Please sign in to comment.