Move constants to a template file
Move constants to a template file
Add Gradle support