Skip to content

Commit

Permalink
FDP-2318: declare dependsOn
Browse files Browse the repository at this point in the history
Signed-off-by: Loes Immens <[email protected]>
  • Loading branch information
loesimmens committed Oct 2, 2024
1 parent b0696ae commit 1509530
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions kafka-avro/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import com.github.davidmc24.gradle.plugin.avro.GenerateAvroJavaTask
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
id("com.github.davidmc24.gradle.plugin.avro") version "1.9.1"
}
Expand All @@ -15,3 +18,9 @@ dependencies {

testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

tasks.withType<KotlinCompile> {
dependsOn(
tasks.withType<GenerateAvroJavaTask>()
)
}

0 comments on commit 1509530

Please sign in to comment.