Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions domain/calling/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ kotlin {
implementation(libs.jna)
}
}
matching { sourceSet ->
sourceSet.name.startsWith("ios") && sourceSet.name.endsWith("Main")
}.all {
dependencies {
api(libs.avsKmp)
}
}
Comment on lines +68 to +74
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't we use the same approach as for other platforms?
Something like:

val iosMain by getting {
    dependencies {
        api(libs.avsKmp)
    }
}


val commonTest by getting {
dependencies { }
Expand Down
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ difference-jvm = { module = "dev.andrewbailey.difference:difference-jvm", versio

# avs
avs = { module = "com.wire:avs", version.ref = "avs" }
avsKmp = { module = "com.wire:avs-kmp", version.ref = "avs" }
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't be better to separate the version numbers for regular and kmp?

jna = { module = "net.java.dev.jna:jna", version.ref = "jna" }

# logging
Expand Down
Loading
Loading