mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-30 21:05:58 -05:00
Fix #1023
Just a quick fix for now, might look into why its broken in 1.6
This commit is contained in:
@@ -87,12 +87,9 @@ public abstract class RemapTaskConfiguration implements Runnable {
|
||||
task.getIncludesClientOnlyClasses().set(getProject().provider(extension::areEnvironmentSourceSetsSplit));
|
||||
};
|
||||
|
||||
if (extension.multiProjectOptimisation()) {
|
||||
// must not be lazy to ensure that the prepare tasks get setup for other projects to depend on.
|
||||
getTasks().create(REMAP_JAR_TASK_NAME, RemapJarTask.class, remapJarTaskAction);
|
||||
} else {
|
||||
getTasks().register(REMAP_JAR_TASK_NAME, RemapJarTask.class, remapJarTaskAction);
|
||||
}
|
||||
// must not be lazy to ensure that the prepare tasks get setup for other projects to depend on.
|
||||
// Being lazy also breaks maven publishing, see: https://github.com/FabricMC/fabric-loom/issues/1023
|
||||
getTasks().create(REMAP_JAR_TASK_NAME, RemapJarTask.class, remapJarTaskAction);
|
||||
|
||||
// Configure the default jar task
|
||||
getTasks().named(JavaPlugin.JAR_TASK_NAME, AbstractArchiveTask.class).configure(task -> {
|
||||
|
||||
Reference in New Issue
Block a user