Skip to content

Commit

Permalink
Update build.gradle.kts
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinSchildhorn committed Nov 8, 2024
1 parent 24e7cdc commit 97b5499
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions kermit-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,14 @@ tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}

val task = project.tasks.findByName("kermit-core:mingwX64MetadataElements")
task?.dependsOn(tasks.named("kermit-core:commonizeCInterop"))
val mingTask = project.tasks.findByName(":kermit-core:mingwX64MetadataElements")
val linux64Task = project.tasks.findByName(":kermit-core:linuxX64MetadataElements")
val linuxArmTask = project.tasks.findByName(":kermit-core:linuxArm64MetadataElements")
val android86Task = project.tasks.findByName(":kermit-core:androidNativeX86MetadataElements")
val android64Task = project.tasks.findByName(":kermit-core:androidNativeX64MetadataElements")

mingTask?.dependsOn(tasks.named(":kermit-core:commonizeCInterop"))
linux64Task?.dependsOn(tasks.named(":kermit-core:commonizeCInterop"))
linuxArmTask?.dependsOn(tasks.named(":kermit-core:commonizeCInterop"))
android86Task?.dependsOn(tasks.named(":kermit-core:commonizeCInterop"))
android64Task?.dependsOn(tasks.named(":kermit-core:commonizeCInterop"))

0 comments on commit 97b5499

Please sign in to comment.