https://kotlinlang.org logo
#squarelibraries
Title
# squarelibraries
s

Shubham Singh

02/12/2023, 1:09 PM
Hi everyone I'm trying to migrate from SQLDelight version 1.5.5 to 2.0.0-alpha05 I replaced
com.squareup
with
app.cash
, removed the project-level gradle plugin and changed the version to 2.0.0-alpha05 but when I'm trying to sync the dependencies, I'm getting a long list of errors (image attached below). Would it help if I sent this whole list of errors in something like a pastebin link?
The reason I'm trying to migrate to a newer version in the first place is that I've recently migrated to Kotlin 1.8.0 and when I'm trying to launch the iOS app, it's showing me that it's an internal error therefore I'm assuming that there is some dependency version mismatch here and maybe the later versions have fixed it.
e

ephemient

02/12/2023, 1:20 PM
upgrade to
js(IR)
,
js(LEGACY)
and
js(BOTH)
are deprecated in Kotlin 1.8
s

Shubham Singh

02/12/2023, 1:23 PM
Oh okay, in my case, I'm using
kotlin.js.compiler=legacy
inside
gradle.properties
because if I don't use the legacy compiler, the BrowserRouter in the web app doesn't work.
18 Views