Skip to content

Commit 1d0946f

Browse files
committed
Fix datagen task output
1 parent 0769601 commit 1d0946f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/fabricmc/loom/configuration/FabricApiExtension.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public void configureDataGeneration(Action<DataGenerationSettings> action) {
208208

209209
// Add the output directory as an output allowing the task to be skipped.
210210
getProject().getTasks().named("runDatagen", task -> {
211-
task.getOutputs().file(outputDirectory);
211+
task.getOutputs().dir(outputDirectory);
212212
});
213213
}
214214
}

0 commit comments

Comments
 (0)