Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt committed Jul 4, 2024
1 parent 51f5708 commit efe2249
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 @@ -728,8 +728,7 @@ public void runtime(final String neoFormVersion, Directory patches, Directory re
final var sourcesWithoutParchment = RuntimeDevRuntimeExtension.applyParchment(
project,
"reverseParchment",
parchmentArtifact.map(art -> ToolUtilities.resolveTool(project, art)),
// mergeMappings.flatMap(WithOutput::getOutput).map(RegularFile::getAsFile),
mergeMappings.flatMap(WithOutput::getOutput).map(RegularFile::getAsFile),
project.provider(() -> "p_"),
project.getLayout().file(project.provider(() -> sourceSetDir)),
runtimeDefinition.getSpecification(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ public static TaskProvider<DefaultExecute> applyParchment(Project project,
task.getProgramArguments().add("--no-parchment-javadoc");
task.getProgramArguments().add("--parchment-mappings");
task.getProgramArguments().add("{mappings}");
task.getProgramArguments().add("--in-format=archive");
task.getProgramArguments().add("--out-format=archive");
if (conflictPrefix.isPresent() && !conflictPrefix.get().isBlank()) {
task.getProgramArguments().add("--parchment-conflict-prefix=%s".formatted(conflictPrefix.get()));
Expand Down

0 comments on commit efe2249

Please sign in to comment.