Skip to content

Commit aef83e6

Browse files
authored
chore: publish cinterop fix (#169)
1 parent 60cc6ee commit aef83e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

buildSrc/src/main/java/Publication.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ fun DistributionContainer.configureForMultiplatform(project: Project) {
185185

186186
private fun CopySpec.fromKlib(projectName: String, target: String, version: String) {
187187
val pos = projectName.length
188-
from("build${sep}libs${sep}${target}${sep}main") {
188+
from("build${sep}classes${sep}kotlin${sep}${target}${sep}main${sep}cinterop") {
189+
include("*.klib")
189190
rename {
190191
it.replaceRange(pos, pos, "-${target.toLowerCase()}-$version")
191192
}

0 commit comments

Comments
 (0)