Skip to main content

How to Generate Java Sources Using buildSrc Gradle Project and Codemodel

Read on original site

I’ll show how to embed external data in your Android app, such as a list of Internet top-level domains, by parsing it before app compilation and generating Java code for efficient and up-to-date access at runtime, similar to the fresh R class generated by Android build tools.