mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-28 20:27:02 -05:00
Add property to control if a remap jar includes client only entries.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user