diff --git a/kermit-core/build.gradle.kts b/kermit-core/build.gradle.kts index a2ac5a78..0027cd81 100644 --- a/kermit-core/build.gradle.kts +++ b/kermit-core/build.gradle.kts @@ -120,5 +120,14 @@ tasks.withType { kotlinOptions.jvmTarget = "1.8" } -val task = project.tasks.findByName("kermit-core:mingwX64MetadataElements") -task?.dependsOn(tasks.named("kermit-core:commonizeCInterop")) \ No newline at end of file +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")) \ No newline at end of file