Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ private void addFormatTaskForSourceSet(SourceSet sourceSet, SmithySourceDirector
formatTask -> {
formatTask.getModels().set(sds.getSourceDirectories());
formatTask.setEnabled(extension.getFormat().get());
formatTask.getOutputs().upToDateWhen(s -> true);
});

// Smithy files should be formatted before they are built
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ private void addJavaTasksForSourceSet(SourceSet sourceSet, SmithyBuildTask build

// Add to verification group, so this tasks shows up in the output of `gradle tasks`
validateTask.setGroup(LifecycleBasePlugin.VERIFICATION_GROUP);
validateTask.getOutputs().upToDateWhen(s -> true);
});
project.getTasks().getByName("test").dependsOn(validateTaskProvider);
}
Expand Down