Fix bats distro test to build distributions (#45529)
The dependency on copying distributions was accidentally masked by an earlier refactoring. This commit fixes the copyDistributions task to be run before bats tests run.
This commit is contained in:
parent
1403a389f8
commit
84bf98e9cd
|
@ -285,7 +285,7 @@ public class DistroTestPlugin implements Plugin<Project> {
|
|||
}
|
||||
|
||||
private static TaskProvider<BatsTestTask> configureBatsTest(Project project, String type, Provider<Directory> distributionsDir,
|
||||
TaskProvider<Copy> copyPackagingArchives, Object... deps) {
|
||||
Object... deps) {
|
||||
return project.getTasks().register("destructiveBatsTest." + type, BatsTestTask.class,
|
||||
t -> {
|
||||
Directory batsDir = project.getLayout().getProjectDirectory().dir("bats");
|
||||
|
|
Loading…
Reference in New Issue