[ObjCExport] Fe10: Implement test with exported and non exported klib dependencies

KT-65670
This commit is contained in:
Sebastian Sellmair
2024-02-23 11:33:03 +01:00
committed by Space Team
parent b26f9cb274
commit e377a98815
18 changed files with 361 additions and 13 deletions
@@ -0,0 +1,3 @@
plugins {
id("objc-export-header-generator-test-library")
}
@@ -0,0 +1,3 @@
# https://youtrack.jetbrains.com/issue/KT-65985
kotlin.native.toolchain.enabled=false
kotlin.native.distribution.downloadFromMaven=false
@@ -0,0 +1,10 @@
@file:Suppress("unused")
/*
* Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
class MyLibraryA {
fun returnInt(): Int = 42
fun returnMe(): MyLibraryA = this
}