Anyone manages to Gradle sync the project with `kt...
# ktor
m
Anyone manages to Gradle sync the project with
ktor.ide.jvmAndCommonOnly=false
? It freezes my IJ EAP every time 😞
a
I am curious, how much memory do you give for the IDEA out?
m
I'm at 8GB
a
Do you experience the freeze with the latest stable IDEA?
m
Haven't checked yet, let me try
Looks like it's getting a bit further but fails on this:
Copy code
Execution failed for task ':ktor-io:cinteropMutexIosArm64'.
> Could not resolve all files for configuration ':ktor-io:iosArm64CInterop'.
   > Could not resolve org.jetbrains.kotlinx:atomicfu-jvm:0.22.0.
     Required by:
         project :ktor-io > org.jetbrains.kotlinx:atomicfu:0.22.0
This one fails on the CLI too so I'm assuming it's something else (I'm at
b6c2c1ade8f08d96cda23f9b8865887d189d2035
)
a
I can successfully build Ktor on Linux from latest main branch. Can you try cleaning the project before building?
m
Maybe
build
works but
:ktor-io:cinteropMutexIosArm64
doesn't?
(trying to clean right now)
Welp,
build
doesn't work for me either 🤔
Maybe a JVM version thing
Doesn't look like a JVM version thing. For some reason, I have some
-jvm
artifacts in the
jsNpmAggregated
configuration:
Copy code
jsNpmAggregated - NPM configuration for compilation 'main' (target js (js)).
+--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3
|    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.3
|         +--- org.jetbrains:annotations:23.0.0
|         +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.8.20
|         \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.20
|              +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.20 -> 1.9.20
|              |    \--- org.jetbrains.kotlin:kotlin-stdlib-js:1.9.20
|              \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.20
|                   \--- org.jetbrains.kotlin:kotlin-stdlib:1.8.20 -> 1.9.20 (*)
+--- org.jetbrains.kotlin:kotlin-stdlib:1.9.20 (*)
+--- org.jetbrains.kotlinx:atomicfu:0.22.0
|    \--- org.jetbrains.kotlinx:atomicfu-jvm:0.22.0 FAILED
I'll dig