A number of folks are having issues opening People...
# multiplatform
j
A number of folks are having issues opening PeopleInSpace project in Android Studio on linux....anyone else come across this or know what cause might be? https://github.com/joreilly/PeopleInSpace/issues/8
a
I had similar issue when using the following with gradle DSL: js { browser { } }
Faced this issue during migration to Kotlin 1.4.0
j
thanks @Arkadii Ivanov....will ask reporters of issue to try that. @Sebastian Aigner is this something you've come across?
s
Haven’t seen that before 👀 also tagging in @Ilya Goncharov [JB] who is probably also interested in this.
i
As I can see, in this particular sample, during compilation of
kts
resolved
kotlin
extension is not from our Gradle plugin, but from
buildSrc
which consider only
KotlinMultiplatformExtension
type, but not
KotlinJsPlatformExtension
which should be considered inside kotlin js plugin I mean this function in
buildSrc
a
@Ilya Goncharov [JB] Also was thinking about this. Tried disabling this and the issue was still there.
In my case I had additional errors, like
kotlin
was unresolved for
Project
Just tried by myself, got the error, the suggested fix does not help.
i
Maybe it is related with
kotlin-dsl
on root project, honestly see this kind of errors first time And seems that something with class loading in Gradle is broken in this cases
j
the PeopleInSpace repo at least is using root
build.gradle
now due to issue in AS 4.9 canary 8 (https://issuetracker.google.com/issues/166468915 )....but using
build.gradle.kts
elsewhere in project.....
@Arkadii Ivanov just to confirm.....you're also just seeing this on linux?
a
@John O'Reilly Disabling the
cocoapods
plugin and its configuration solves the error.
Moving the line
id("org.jetbrains.kotlin.native.cocoapods")
up and down inside the
plugins
block did not help
j
do you get same issue with KaMPKit....it's also using that plugin https://github.com/touchlab/KaMPKit/blob/master/shared/build.gradle.kts
a
I did not try opening the KaMPKit. Could try later today.