Skip to content

Commit

Permalink
Only apply SKIE to Framework binaries.
Browse files Browse the repository at this point in the history
  • Loading branch information
TadeasKriz committed Nov 6, 2023
1 parent 3fec31a commit 1420055
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import org.gradle.api.Plugin
import org.gradle.api.Project
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
import org.jetbrains.kotlin.gradle.dsl.KotlinNativeArtifact
import org.jetbrains.kotlin.gradle.plugin.mpp.Framework
import org.jetbrains.kotlin.gradle.targets.native.tasks.artifact.kotlinArtifactsExtension
import org.jetbrains.kotlin.konan.target.HostManager

Expand Down Expand Up @@ -57,7 +58,7 @@ abstract class SkieGradlePlugin : Plugin<Project> {

kotlinMultiplatformExtension?.appleTargets?.all {
val target = this
binaries.all {
binaries.withType<Framework>().all {
val binary = this
skieInternal.targets.add(
SkieTarget.TargetBinary(
Expand Down

0 comments on commit 1420055

Please sign in to comment.