Crate: Compile time safety for Android assets

I got sick of dealing with String literals when working with assets on Android, so decided to put together a small plugin to generate a class which can be used to retrieve asset paths with 100% confidence the files actually exist.

I hooked into the


gradle task in order to generate the class every time the package assets are updated, so (fingers crossed) it will always be up to date. Feel free to create an issue if you find one.

For more information, or to checkout the code for yourself, visit the repository:

You may also like...

Leave a Reply