Skip to content

Accessing resources by name #2008

@lineargraph

Description

@lineargraph

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions