Skip to content
Merged
Changes from 1 commit
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 @@ -47,6 +47,9 @@ public void apply(Project project) {
.findAny()
.ifPresent(ignored -> enableJUnit5ForAllTestTasks(project));
});

// Never cache test tasks, until we work out the correct inputs for ETE / integration tests
project.getTasks().withType(Test.class).configureEach(test -> test.getOutputs().cacheIf(task -> false));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There were some requests internally to allow users to opt out of this behaviour. We could expose a property that allows people to toggle ti

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

com.palantir.baseline.restore-test-cache = true ?

});
}

Expand Down