May I know how to use snapshot version? any guide...
# squarelibraries
s
May I know how to use snapshot version? any guideline?
d
of which library, SQLDelight?
s
yes, I followed this page, but I got
Plugin [id: 'app.cash.sqldelight', version: 'SNAPSHOT-VERSION', apply: false] was not found in any of the following sources:
d
You have to substitute
SNAPSHOT-VERSION
with this actual version right now that would be
2.0.0-SNAPSHOT
s
got it, what about the
version
in androidMain.dependencies and iosMain.dependencies is it
local-development
? https://cashapp.github.io/sqldelight/2.0.0-SNAPSHOT/multiplatform_sqlite/
d
It should also be
2.0.0-SNAPSHOT
. Your whole project should use a single version (local-development is a typo of sorts)
s
I can now sync gradle successfully, but why the IDE won’t generate the class from *.sq file now?
my sqldelight plugin version is
2.0.0-SNAPSHOT-1684524886359
now
was solved by restarting IDE, thanks!