Skip to content

Commit

Permalink
fix(build): fix startTestKafkaCluster task (#1695)
Browse files Browse the repository at this point in the history
Missing dependsOn declarations for gradle to build properly

Co-authored-by: Shane Kennedy <shane.kennedy@klarna.com>
  • Loading branch information
shaneikennedy and shaneikennedy authored Apr 4, 2024
1 parent fbf48b0 commit 47504ef
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,13 @@ task testInjectData(type:JavaExec) {

test.dependsOn "startTestKafkaCluster"

task startTestKafkaCluster(type: com.github.psxpaul.task.JavaExecFork, dependsOn: 'testClasses') {
task startTestKafkaCluster(type: com.github.psxpaul.task.JavaExecFork) {
dependsOn 'testClasses'
dependsOn 'buildLayers'
dependsOn 'shadowDistZip'
dependsOn 'shadowDistTar'
dependsOn 'distZip'
dependsOn 'distTar'
group = 'verification'
description = 'Start a global standalone test Kafka cluster during tests'
classpath = sourceSets.test.runtimeClasspath
Expand Down

0 comments on commit 47504ef

Please sign in to comment.