From 8b91cf41ea73587e75bf3c4e244d5961b2673b23 Mon Sep 17 00:00:00 2001 From: Ugljesa Jovanovic Date: Thu, 28 May 2020 23:54:51 +0200 Subject: [PATCH] log name --- multiplatform-crypto-delegated/build.gradle.kts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/multiplatform-crypto-delegated/build.gradle.kts b/multiplatform-crypto-delegated/build.gradle.kts index 3adaf4e..1a99836 100644 --- a/multiplatform-crypto-delegated/build.gradle.kts +++ b/multiplatform-crypto-delegated/build.gradle.kts @@ -191,9 +191,10 @@ kotlin { targets.withType { println("Target $name") compilations.getByName("main") { - println("Setting cinterop for $name") + defaultSourceSet.dependsOn(nativeMain) if (this@withType.name.contains("ios").not()) { + println("Setting cinterop for $this@withType.name") val libsodiumCinterop by cinterops.creating { defFile(project.file("src/nativeInterop/cinterop/libsodium.def")) compilerOpts.add("-I${project.rootDir}/sodiumWrapper/include/")