Skip to content

Commit

Permalink
Fix artifacts not being created when there are no runs. (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
shartte authored Jun 14, 2024
1 parent 412a52a commit 9e681f0
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,10 @@ public void apply(Project project) {
})));
});

var ideSyncTask = tasks.register("neoForgeIdeSync");
var ideSyncTask = tasks.register("neoForgeIdeSync", task -> {
task.setDescription("A utility task that is used to create necessary files when the Gradle project is synchronized with the IDE project.");
task.dependsOn(createArtifacts);
});

Map<RunModel, TaskProvider<PrepareRun>> prepareRunTasks = new IdentityHashMap<>();
extension.getRuns().configureEach(run -> {
Expand Down

0 comments on commit 9e681f0

Please sign in to comment.