You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now you cannot access resources (in src/main/resources let's say), like you can access classes by name. You can obviously still read the file normally, but you won't be able to track it as a dependency. In my particular case this is not much of an issue since the resource file changes only very rarely, but for other use cases it wouldn't be great to have to manually invalidate the KSP cache anytime a resource changes.
The text was updated successfully, but these errors were encountered:
Well despite being kotlin symbol processing you are allowed to also process java sources. And accessing things like config or language files would be quite helpful. While there are ways to generate java source files from resources and have those be compiled (although it is a bit cumbersome with gradle), there really isn't a way to do this while also combining the data from those resources with data from some kotlin annotation.
Right now you cannot access resources (in
src/main/resources
let's say), like you can access classes by name. You can obviously still read the file normally, but you won't be able to track it as a dependency. In my particular case this is not much of an issue since the resource file changes only very rarely, but for other use cases it wouldn't be great to have to manually invalidate the KSP cache anytime a resource changes.The text was updated successfully, but these errors were encountered: