Niklas Wintrén
03/13/2025, 12:54 PMpackageReleaseDistributionForCurrentOS
doesn't even complete, but instead proguardReleaseJars
fails with:
io.ktor.network.sockets.SocketBase$attachFor$1: can't find enclosing method 'io.ktor.utils.io.ChannelJob attachFor(java.lang.String,<http://io.ktor.utils.io|io.ktor.utils.io>.ByteChannel,kotlinx.atomicfu.AtomicRef,kotlin.jvm.functions.Function0)' in program class io.ktor.network.sockets.SocketBase
yousefa2
03/13/2025, 2:28 PMNiklas Wintrén
03/13/2025, 8:45 PMdependencies
gradle command and looked through every line mentioning ktor (which was quite a few) and they all mentioned 3.1.1
Legend in command
(c) - A dependency constraint, not a dependency. The dependency affected by the constraint occurs elsewhere in the tree.
(*) - Indicates repeated occurrences of a transitive dependency subtree. Gradle expands transitive dependency subtrees only once per project; repeat occurrences only display the root of the subtree, followed by this annotation.
Examples in the output:
+--- io.ktor:ktor-client-websockets:3.1.1
+--- io.ktor:ktor-websockets:{strictly 3.1.1} -> 3.1.1 (c)
+--- io.ktor:ktor-server-cio:3.1.1
| +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.1 (*)
| +--- io.ktor:ktor-server-core:3.1.1 (*)
So I got a nice mix; but only 3.1.1
I am adding ktor 3.1.1
per instructions; and I am using Supabase 3.1.2
which targets 3.1.1 (requires 3.1.1 or higher)