Pamela Hill
08/10/2022, 10:23 AMRiccardo Tribbia
08/10/2022, 10:59 AMeygraber
08/11/2022, 12:06 AMFranco
08/11/2022, 5:45 AM./gradlew build
the kotlin-js-store/yarn.lock
file is created, which makes sense.
However, when we build the server using ./gradlew build
then the kotlin-js-store/yarn.lock
file is also created, even though the server code is 100% Kotlin/JVM.
My assumption is that the JS part of the multiplatform library is being built when we build the server, but shouldn't that be skipped autoamtically?
My questions are:
1. Is the assumption above correct? Or is there something I'm missing?
2. Should we keep building the server using ./gradlew build
or should we use a different Gradle task for this that doesn't build the JS code in the multiplatform library?
Thanks for the help!Didier Villevalois
08/11/2022, 7:54 AMMarcin Wisniowski
08/11/2022, 1:44 PMBen Edwards
08/11/2022, 3:50 PMVenkataramanan Parameswaran
08/11/2022, 4:57 PMVenkataramanan Parameswaran
08/11/2022, 5:07 PM./gradlew build
fails...Gillian Buijs
08/11/2022, 6:08 PMxiaobailong24
08/12/2022, 7:47 AM#define FUNCTION()
in objc header file from kotlin code, how should i do to cinterop it to kotlin klib?Michal Klimczak
08/12/2022, 9:41 AMassembleXCFramework
• embedAndSignAppleFrameworkForXcode
• packForXCode
- this is deprecated afaik
• cocoapods
Any bigger issues with any of these methods?Rajput Art Studio
08/13/2022, 6:26 PMЕгор Аникеев
08/14/2022, 2:33 PMadjpd
08/14/2022, 9:41 PMcommonTest
?xxfast
08/15/2022, 3:58 AMimport
above, i only get directed to an empty .h
file.coolcat
08/15/2022, 12:34 PMSam
08/15/2022, 1:27 PMDjordje Mutavdzic
08/15/2022, 3:09 PMKieren Searle
08/15/2022, 8:16 PMMendess
08/16/2022, 12:55 PMDidier Villevalois
08/16/2022, 2:50 PMCiaran Sloan
08/16/2022, 3:28 PMandroidTest
without issue (im using turbine in there to test my state flows). However when I open the same project in chipmunk, the classes in commonMain
are not accessible in androidTest
and wont resolveMatti MK
08/17/2022, 8:11 AMadjpd
08/17/2022, 4:19 PMCould not find :kotlin-native-prebuilt-macos-x86_64:1.7.10
Any ideas?Venkataramanan Parameswaran
08/17/2022, 5:03 PMAlejandro Moya
08/17/2022, 6:49 PMjuh juh
08/17/2022, 9:23 PMjuh juh
08/17/2022, 10:33 PMgradlew build
, where can I find generated JS file? I searched all over build
folder but couldn't find any. a lot of build data for JS is generation, but no actual JS file is found, and I get no errors eitherxxfast
08/18/2022, 4:45 AMdependencies {
api(project(":module-where-my-enum-lives"))
}
xxfast
08/18/2022, 4:45 AMdependencies {
api(project(":module-where-my-enum-lives"))
}
eygraber
08/18/2022, 6:00 AMxxfast
08/18/2022, 6:13 AMGrégory Lureau
08/18/2022, 7:35 AMapi(project(":..."))
in commonMain dependencies if this can help. (EDIT: I thought about JS but looks like you're working with iOS, my bad)sergey.bogolepov
08/18/2022, 7:55 AMxxfast
08/18/2022, 9:54 AM// :app
kotlin {
..
listOf(
iosX64(),
..
).forEach { target ->
with(target) {
binaries {
framework {
baseName = "App"
..
export(project(":search"))
}
}
}
}
..
sourceSets {
val iosX64Main by getting
..
val iosMain by creating {
dependsOn(commonMain)
iosX64Main.dependsOn(this)
..
dependencies {
..
api(project(":search"))
}
}
}
}
:app
module, it is immediately exported. If there is not reference to it, it is not exported