https://kotlinlang.org logo
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
multiplatform
  • a

    Ayush Bansal

    07/14/2022, 9:13 AM
    i am trying to understand what’s the build process of KMM on android side . any articles/blogs to understand this process ?
  • d

    David Newell

    07/14/2022, 12:13 PM
    Hey! We’ve been building an SDK in KMM for nearly a year now. We wrote a case study about how we built our first version. Thought it might be useful to some folks here. https://www.unflow.com/post/kotlin-multiplatform-mobile We're actually live on Product Hunt today too if you want to know more about the product / share some support. It lets PMs and marketers publish and iterate on fully native onboarding carousels, Stories, and NPS pop ups instantly, without involving engineering. https://www.producthunt.com/posts/unflow
    🚀 7
  • j

    Javier

    07/14/2022, 1:01 PM
    Is junit5 compatible with a KMP library which has a JS target?
    Untitled.txt
    h
    • 2
    • 3
  • x

    xiaobailong24

    07/14/2022, 3:31 PM
    Have you used new memory manager in your production iOS apps? Tap +1 if you have.👀
    :plus1: 19
  • m

    Mobile Dev.

    07/14/2022, 10:50 PM
    Do you think the viewmodels should be on kmm or should it be on native ?
    i
    j
    +6
    • 9
    • 20
  • u

    uli

    07/15/2022, 2:25 PM
    Hi there, is it possible, with the embedAndSignAppleFrameworkForXcode to link the kmm framework to multiple targets in the app?
    • 1
    • 1
  • m

    mbonnin

    07/15/2022, 3:12 PM
    What's the status on HMPP and using things like
    okio.Filesystem.SYSTEM
    from
    commonMain
    when I only have JVM and macOS targets?
    j
    a
    • 3
    • 7
  • a

    Anton Afanasev

    07/15/2022, 3:30 PM
    Hi all. With K\N this:
    var onStateChanged: ((from: State, to: State) -> Unit)?
    translated to:
    @property void (^ _Nullable onStateChanged)(State *, State *) __attribute__((swift_name("onStateChanged")));
    which makes this function signature problematic to read on iOS. Are there any way to pass/enforce argument name on k\n? PS. I mean that argument names
    from
    and
    to
    are ignored during kotlin to swift translation.
  • a

    Aditya Kurkure

    07/16/2022, 9:06 AM
    When compiling a multiplatform library for android what happens under the hood? Does the compiler compile
    commonMain
    and
    AndroidMain
    the same way any normal multi module android library written in kotlin is compiled or are there any other changes that the multiplatform plugin adds?
    👀 1
    ➕ 2
    a
    l
    • 3
    • 4
  • s

    Sam

    07/16/2022, 10:50 AM
    Hey all, has anyone got any tips for getting better stacktraces for exception thrown from the shared kotlin code on iOS specifically? Locally the stack traces are fine (example in thread), but in Firebase crashlytics I get this which isn't particularly helpful. I realise this is technically :not-kotlin: but I'm hoping it's close enough!
    v
    • 2
    • 3
  • m

    Mendess

    07/16/2022, 8:37 PM
    is there a non jvm way to format a double to string with a specific number of decimal places?
    j
    • 2
    • 1
  • j

    Javier

    07/17/2022, 9:50 PM
    Is it possible to get the line number from a stacktrace in
    mingw
    ?
  • r

    Raymond Chan

    07/18/2022, 10:12 AM
    hi, is it possible to use
    kotlin.Result
    on swift with generic? Seems generic is not recognized and when trying to get items on Swfit,
    Any?
    is the return type. In Kotlin
    class SampleClazz {
        fun funcThatReturnKotlinResult(): Result<Int> {
            return Result.success(10)
        }
    }
    In Swift,
    Int
    generic is not being recognized:
    🥲 1
    :nope: 2
    n
    • 2
    • 1
  • a

    Arkadii Ivanov

    07/18/2022, 12:12 PM
    Is it expected that a library published against Kotlin 1.7.0 can't be resolved in a project with Kotlin 1.6.10? The IDE shows multiple "Could not resolve XYZ" errors on the Build tab after sync. However the project compiles and runs just fine from the command line.
    m
    • 2
    • 9
  • t

    Tim Schraepen

    07/18/2022, 6:27 PM
    Hi folks! Thought I'd spend some time exploring Kotlin Multiplatform and started with the tutorial over here. Got rekt on the first code I wrote. 😞 IntelliJ (Ultimate) is complaining:
    Cannot access class 'io.ktor.util.pipeline.PipelineContext'. Check your module classpath for missing or conflicting dependencies
    On these lines:
    //file:Server.kt
    fun main() {
        embeddedServer(Netty, 9090) {
            routing {
                get("/hello") {
                    this // <- does not compile
    //                call.respondText("Hello world") // <- does not compile either
                }
            }
        }.start(wait = true)
    }
    The Gradle build works fine. Seems like it's an issue where the modules have separate dependencies, but IntelliJ doesn't make the distinction (loads everything on to the classpath) which ends up in conflicting dependencies. I've got Java 11 as the Project SDK (but neither 8 nor 17 don't work either), and I've got the latest Kotlin version (currently 221-1.7.10-release-333-IJ5591.52)
  • e

    eygraber

    07/18/2022, 6:38 PM
    Should the following be possible:
    public sealed class Foo
    
    public expect class Bar : Foo
    When I define the actual class in the same package and module in a platform source set (e.g.
    jvmMain
    ):
    public actual class Bar : Foo()
    I get an error that says:
    Inheritance of sealed classes or interfaces from different module is prohibited
    t
    l
    • 3
    • 29
  • s

    Shubham Dwivedi

    07/18/2022, 10:44 PM
    Can someone help with this? https://discuss.kotlinlang.org/t/how-to-reference-kotlin-native-dlls-from-c-code-in-a-windows-uwp-app/25208 I read that the PlanGrid team has been successfully using Kotlin/Native for Windows. Although I haven’t found any samples that cover interop with C# code. Looking for some help on that front…
  • e

    eygraber

    07/19/2022, 4:57 AM
    I'm trying to register a task that depends on
    iosArm64Test
    but Gradle says that there is no task registered with that name. There are tasks registered for
    iosX64Test
    and
    iosSimulatorArm64Test
    . Is that expected? I'm running this on Linux; would that affect the
    iosArm64Test
    task from getting registered (and if so, why not the others)?
    e
    • 2
    • 10
  • g

    Grégory Lureau

    07/19/2022, 10:33 AM
    Hello ! Is there a good way to approach KVO (Key-Value Observing) for ObjectiveC/Swift? I've a data class with a mutable field and not sure how to listen changes on this field from iOS.
  • g

    Gillian Buijs

    07/19/2022, 12:14 PM
    is there a multiplatform equivalent for an ObjectInputStream?
    m
    • 2
    • 13
  • a

    Ali Khaleqi Yekta

    07/19/2022, 6:35 PM
    Hi There's a syncing problem that literally stopped me for a month from upgrading the AGP _(which will most likely fix an IDE false positive error about resolving common dependencies in
    androidMain
    )_; I'd be really happy to even get a clue of what to touch to make this work. I tried countless ways but nothing worked: https://stackoverflow.com/questions/73006307/gradle-sync-cannot-find-a-variant-matching-build-type-null-and-product-flavo
  • e

    eygraber

    07/20/2022, 12:49 AM
    iosSimulatorArm64Test
    and
    macosArm64Test
    are getting skipped on a Mac m1 with an arm64 jdk. The X64 tasks are working. Anyone know why they would get skipped?
    e
    • 2
    • 11
  • n

    Norbi

    07/20/2022, 11:04 AM
    Does anyone know: is it possible to write iOS UIs using KMM + Compose/Multiplatform? Or is it necessary to write Swift code for iOS UIs? Thanks.
    b
    l
    +2
    • 5
    • 21
  • s

    Sam

    07/21/2022, 3:54 PM
    Error uploading app built with KMM to the appstore 😞 Has anyone got a fix for this? I've found a few threads about it but not an actual fix. I'm not using pods and just using
    embedAndSignAppleFrameworkForXcode
    in the build phase. This happens when attempting to upload to the appstore (everything works locally)
    The binary file '<http://iosApp.app/Frameworks/shared.framework/shared|iosApp.app/Frameworks/shared.framework/shared>' is not permitted. Your app can't contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles.
    c
    • 2
    • 8
  • d

    Davide Giuseppe Farella

    07/22/2022, 8:34 AM
    Hey guys, quick question from someone who used KMM last time two years ago. In a multi-module project, is it better to have a separate app module per client or a single multi-platform module? ( Note that for now I’ll focus on Android only ) I created an
    app
    module Jvm+Android, but I’ve seen a very old problem on Android Studio, which is the “Unresolved reference” for components from multiplatform modules. It compiles, but it’s impossible to work in this way. Any drawback in having an
    app
    module that is KMM+Android only?
    b
    • 2
    • 58
  • s

    Sanoj

    07/22/2022, 2:17 PM
    👋 Anyone here tried fastlane gym to archive a KMP based iOS project to distribute to firebase (or any other platform) through circleCI? The build gets stuck trying to run
    embedAndSignAppleFrameworkForXcode
    on circleCI. Everything (including the firebase distribution) works fine locally.
    s
    c
    • 3
    • 19
  • t

    Tristan

    07/24/2022, 5:26 PM
    Hello, currently using Kotlin
    1.7.0
    I am getting troubles to get a JS project being served via
    jsBrowserDevelopmentRun
    My browser is correctly opening my
    index.html
    file, but not able to fetch the JS (404). The gradle output is the following
    > Task :kotlinNodeJsSetup UP-TO-DATE
    > Task :kotlinNpmCachesSetup
    > Task :kotlinRestoreYarnLock UP-TO-DATE
    > Task :kotlinYarnSetup UP-TO-DATE
    > Task :adView:jsPackageJson UP-TO-DATE
    > Task :adView:jsTestPackageJson UP-TO-DATE
    > Task :packageJsonUmbrella UP-TO-DATE
    > Task :rootPackageJson UP-TO-DATE
    > Task :kotlinNpmInstall UP-TO-DATE
    > Task :kotlinStoreYarnLock UP-TO-DATE
    > Task :adView:jsGenerateExternalsIntegrated SKIPPED
    > Task :adView:compileKotlinJs UP-TO-DATE
    > Task :adView:jsProcessResources UP-TO-DATE
    > Task :adView:jsMainClasses UP-TO-DATE
    > Task :adView:compileDevelopmentExecutableKotlinJs UP-TO-DATE
    > Task :adView:jsDevelopmentExecutableCompileSync
    
    > Task :adView:jsBrowserDevelopmentRun
    Execution optimizations have been disabled for task ':adView:jsBrowserDevelopmentRun' to ensure correctness due to the following reasons:
      - Gradle detected a problem with the following location: '/Users/tristan/AndroidStudioProjects/Ads/build/js/packages/Ads-adView/kotlin/Ads-adView.js'. Reason: Task ':adView:jsBrowserDevelopmentRun' uses this output of task ':adView:jsDevelopmentExecutableCompileSync' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to <https://docs.gradle.org/7.4.2/userguide/validation_problems.html#implicit_dependency> for more details about this problem.
    <i> [webpack-dev-server] Project is running at:
    <i> [webpack-dev-server] Loopback: <http://localhost:8080/>
    <i> [webpack-dev-server] On Your Network (IPv4): <http://10.0.0.3:8080/>
    <i> [webpack-dev-server] On Your Network (IPv6): http://[fe80::1]:8080/
    <i> [webpack-dev-server] Content not from webpack is served from '/Users/tristan/AndroidStudioProjects/Ads/adView/build/processedResources/js/main' directory
    <i> [webpack-dev-middleware] wait until bundle finished: /
    I am also joining the content of
    build
    as a screenshot. Are there any steps I missed? Thanks a lot for your help.
    😒olved: 1
    • 1
    • 1
  • s

    Shubham Singh

    07/24/2022, 6:52 PM
    Hi Folks This might be a stupid question But how do I add the support for Kotlin React JS (Web)? Do I need to add it to both top-level and inside common MPP module as well? Or just adding it to top-level would work?
    x
    • 2
    • 2
  • y

    y9san9

    07/25/2022, 3:15 AM
    Hello folks, is there any library to work with USB in multiplatform? 🙂
  • m

    mbonnin

    07/25/2022, 8:50 AM
    Just want to say that I now have AGP 7.2.0 working in IntelliJ and my Android code can now recognize all the MPP symbols 🙌. Thanks to everyone who worked on this 💙 :android-10: :kotlinnew:
    👍 1
    🎉 2
    :party-parrot: 4
    :kotlin-intensifies: 8
    m
    m
    +2
    • 5
    • 27
Powered by Linen
Title
m

mbonnin

07/25/2022, 8:50 AM
Just want to say that I now have AGP 7.2.0 working in IntelliJ and my Android code can now recognize all the MPP symbols 🙌. Thanks to everyone who worked on this 💙 :android-10: :kotlinnew:
👍 1
🎉 2
:party-parrot: 4
:kotlin-intensifies: 8
m

Michael Paus

07/25/2022, 9:20 AM
You are a lucky guy then. I cannot confirm that from my side yet.
m

mbonnin

07/25/2022, 9:23 AM
It's very recent 🙂 More details at https://issuetracker.google.com/issues/165921901
m

Marco Righini

07/25/2022, 9:35 AM
Good news! Waiting for Android Studiio 😃
🤞 1
m

Michael Paus

07/25/2022, 9:48 AM
Well, I am using the exact same version of IJ. How did you configure the AGP? Isn’t a dependency on “com.android.tools.build:gradle:7.2.1” enough?
m

mbonnin

07/25/2022, 9:49 AM
I'm using 7.2.0
m

Michael Paus

07/25/2022, 9:50 AM
I used that before. Isn’t 7.2.1 the latest?
m

mbonnin

07/25/2022, 9:50 AM
Maybe, I kind of lost track 😅
Yep, 7.2.1 is the latest according to https://maven.google.com/web/index.html?q=gradle#com.android.tools.build:gradle
m

Michael Paus

07/25/2022, 9:51 AM
Probably there is just more than one issue and they have not yet fixed all of them.
m

mbonnin

07/25/2022, 9:52 AM
If you have a reproducer somewhere, I can try to look into it
m

Michael Paus

07/25/2022, 9:53 AM
I’ll try to find one.
👍 1
@mbonnin A simple example project which shows the problem can be found here: https://github.com/mipastgt/JavaForumStuttgartTalk2022/tree/main/PolySpiralMpp I’ve also attached a screen shot which clearly shows that IJ is reporting errors on the code although the app is running nicely in the emulator.
m

mbonnin

07/25/2022, 10:17 AM
Arf, Compose...
My setup is slightly different. The symbols are in other JVM modules used from the AGP one
(and no compose, not sure if that has anything to do with it...)
Can confirm same behaviour
Funny that it can find "runtime" but not "foundation" 🤔
m

Michael Paus

07/25/2022, 10:45 AM
I am glad that you can confirm this behaviour (and your dark theme does not make a difference 😉). So I am not alone and there is indeed still a problem and I am not seeing ghosts.
m

mbonnin

07/25/2022, 10:45 AM
Yea sorry for the "false joy"...
😭 1
😁 1
It's slowly getting there though...
m

Michael Paus

07/25/2022, 11:58 AM
Just in case someone wants to track my issue: https://youtrack.jetbrains.com/issue/KTIJ-22296
⭐ 2
r

Racka N

07/25/2022, 1:06 PM
The project took quite a while to download all artifacts (1hr 15 min), I don't know why maven.pkg is slow. Your project works fine on my part using Intellij 2022.2 RC. Everything gets resolved, only the macOS and iOS
platform
stuff that aren't getting resolved. Which I assume is because I'm on Windows.
The ones that don't get resolved are things that use
platform
inside
main.macos.kt
and
main.uikit.kt
. Everything else seems to work fine on my part. Info about my machine:
IntelliJ IDEA 2022.2 RC (Community Edition)
Build #IC-222.3345.90, built on July 20, 2022
Runtime version: 17.0.3+7-b469.32 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 990M
Cores: 8
Registry:
    debugger.new.tool.window.layout=true
    ide.experimental.ui=true

Non-Bundled Plugins:
    wu.seal.tool.jsontokotlin (3.7.4)
    net.antelle.intellij-xcode-dark-theme (1.2.4)
    dev.polek.adbwifi (1.2.5)
    com.intellij.plugins.expui (0.4)
    org.jetbrains.plugins.hocon (2022.1.0)
    club.nutsoft.Github3Theme (1.1.9)
    Docker (222.3345.90)
    com.squareup.sqldelight (1.5.3)
    com.haulmont.jpab (2022.3.1-222)
    androidx.compose.plugins.idea (222.3345.90)

Kotlin: 222-1.7.10-release-334-IJ3345.90
v

vanniktech

07/25/2022, 1:22 PM
I'm also mostly fine, I still have this one: https://youtrack.jetbrains.com/issue/KTIJ-22250/Support-dependency-propagation-for-androidjvm-source-sets-depending-on-multiplatform-libraries Dependencies aren't propagated between jvm/android modules when exposing them via api, although Sebastian has already fixed this and it's scheduled either for 2022.3 EAP or 2022.2.1 Overall it's gotten so much better though! ❤️ 2022.2 RC works really well
r

Racka N

07/25/2022, 1:38 PM
Spoke too soon. The compose dependencies are broken in
androidMain
but weirdly only some some compose dependencies. Like
foundation
and
material
don't work but
runtime
works. Also the project no longer has the issue with resolving
commonMain
stuff as other dependencies and classes defined in
commonMain
work as expected in
androidMain
. This was broken in older versions of IntelliJ and AS but works in 2022.2 RC. The attached screenshot would have been broken in older versions but works fine in IJ 2022.2 RC. Might some other weird issue with the Gradle configuration.
m

Michael Paus

07/26/2022, 12:44 PM
The issue which I have presented above has just been fixed :thank-you:😀 (See comments in issue).
m

mbonnin

07/26/2022, 12:45 PM
Not until next IntellJ version or so though (because requires more recent agp). But yeah looks cool 😃😃
View count: 15