Add property to control if a remap jar includes client only entries.

This commit is contained in:
modmuss50
2022-05-20 11:22:05 +01:00
parent 743e009068
commit 40b3ebc80e
2 changed files with 10 additions and 1 deletions

View File

@@ -68,6 +68,7 @@ public class RemapTaskConfiguration {
// Setup the input file and the nested deps
task.getInputFile().convention(jarTask.getArchiveFile());
task.dependsOn(tasks.named(JavaPlugin.JAR_TASK_NAME));
task.getIncludesClientOnlyClasses().set(project.provider(extension::areEnvironmentSourceSetsSplit));
});
// Configure the default jar task