Hi, in the moshi docs it state to use this version...
# squarelibraries
r
Hi, in the moshi docs it state to use this version of ksp
id("com.google.devtools.ksp").version("1.6.0-1.0.1")
, this led to issues with codegen not working. I found the error message when building on the command line (gradlew build) but NOT when compiling and running my app with the AS. The app crashed at runtime saying the Adapter class could not be found. I found the latest version to use was
1.6.10-1.0.4
and it all worked.
z
use the latest version of KSP, we’re not tied to a fixed version
r
i found that out the hard way, sometimes the docs automatically have the latest version. I am suggesting not hard coding a version in the docs.
Also, AS did NOT highlight the dependency to say there was a newer version.
z
I updated the README with a comment mentioning to prefer latest versions, I think that’s enough