John O'Reilly
12/10/2021, 9:29 AMkevindmoore
12/10/2021, 9:51 PMursus
12/11/2021, 4:30 AMRuben Quadros
12/11/2021, 4:21 PMsalomonbrys
12/13/2021, 4:12 PMcompileKotlinJs
tasks always report a Cache MISS, and every JS is always recompiled.
All other compilation tasks do hit the cache, it’s only JS compilation that always misses.
Anyone knows what’s going on ?Radoslaw Juszczyk
12/13/2021, 6:59 PMrunCommonizer
task about? I just came back to my old multiplatform project (updated all deps) and this task takes forever (over 1h). Is there a way to make it run faster or disable it? Or configure the project the way that I dont need it?
It takes that long on both macOS and windows11 platforms.Marcello Galhardo
12/13/2021, 8:14 PMandroidApp
, iosApp
and shared
). Any special reason for that? Should we use camel case to all “kotlin multiplatform modules” as a standard or only for the app modules?elect
12/14/2021, 12:47 AMorg.jetbrains.kotlinx.benchmark
for the jvm only with a specific separate sourceSet?rsktash
12/14/2021, 5:42 PMAmaan
12/14/2021, 7:54 PM./gradlew build
, I get output in the /build
folder. However, how do I actually use the output in a Javascript app? How do I use it as a dependency for a separate Kotlin app?
I tried publishing to MavenLocal but I keep getting a warning that gradle has failed to resolve the line I added implementation "com.cloudydino:ChessTournamentPairing:0.0.1"
tseisel
12/15/2021, 10:26 AMkotlin.mpp.enableGranularSourceSetsMetadata=true
?
While my MPP library builds totally fine, it's wreaking havoc in my IDE (be it IntelliJ or Android Studio) :
• public
modifiers are labelled as redundant (but exlicitApi()
it enabled, removing them fails the build)
• commonMain
sources may import declarations from java.*
, which is illegal
• expect
declarations are marked as errors due to "Kotlin Multiplatform is an experimental feature"
If I remove this config flag, I only have errors indicating that some expect
declarations have no implementation in a given platform.Nilay Dağdemir
12/15/2021, 10:26 AMOsman Saral
12/16/2021, 12:15 PMval commonMain by getting {
dependencies {
api(Deps.kotlinxDateTime)
}
}
or maybe
val androidMain by getting {
dependencies {
api(Deps.kotlinxDateTime)
}
}
And use kotlinx datetime from android? PS: I tried these but they didn't work.Nacho Ruiz Martin
12/16/2021, 4:36 PMincludeBuild
) to have a separate standalone project for the KMM shared multimodule project? Everything is building correctly but IDE is showing errors with dependencies between modules of the KMM project.Alexandre Brown
12/17/2021, 3:47 PMAlexandre Brown
12/17/2021, 6:12 PMspierce7
12/18/2021, 3:14 AMptsiogas
12/18/2021, 11:12 AMJavier
12/18/2021, 2:51 PMkotlin-js-store
? Recently it is being autogenerated in my projects that target JSWaqas Tahir
12/18/2021, 4:30 PMMendess
12/18/2021, 5:05 PM__FILE__
magic constantdimsuz
12/18/2021, 8:20 PMHoney Sandy
12/19/2021, 4:07 AMdimsuz
12/19/2021, 1:43 PM./gradlew dependencies
lists only dependencies of kotlinKlibCommonizerClasspath
and it seems to be the only configuration in the project for some reasonEthan Davidson
12/19/2021, 4:45 PMdimsuz
12/19/2021, 7:27 PMRahul Rawat
12/20/2021, 5:21 AMExecution failed for task ':compileSqlDriverNativeMainKotlinMetadata'
w: library included more than once: /Users/rahulrawat/.konan/kotlin-native-prebuilt-macos-x86_64-1.5.31/klib/common/stdlib
w: Could not find "co.touchlab:sqliter-driver-cinterop-sqlite3" in [/Users/rahulrawat/Desktop/Projects/kmp/AddressLibrary, /Users/rahulrawat/.konan/klib, /Users/rahulrawat/.konan/kotlin-native-prebuilt-macos-x86_64-1.5.31/klib/common, /Users/rahulrawat/.konan/kotlin-native-prebuilt-macos-x86_64-1.5.31/klib/platform/ios_arm64]
Tried reverting to 1.5.2 of sqlDelight and kotlin 1.5 but nothing seems to be working.Marko Novakovic
12/20/2021, 1:06 PMMarkRS
12/20/2021, 1:38 PMMarko Novakovic
12/20/2021, 1:40 PMNo such module 'shared'
and can’t get project to build/run on iOS. how to fix it. if worked properly but since I imported some dependencies it won’t buildMarko Novakovic
12/20/2021, 1:40 PMNo such module 'shared'
and can’t get project to build/run on iOS. how to fix it. if worked properly but since I imported some dependencies it won’t buildkpgalligan
12/20/2021, 4:12 PMpod install
, try to run (and fail), then pod install
againMarko Novakovic
12/20/2021, 4:12 PM