Home Create or parse java and kotlin clases into gradle task
Reply: 0

Create or parse java and kotlin clases into gradle task

Tiberal
1#
Tiberal Published in 2017-11-14 23:39:46Z

I has some config class written on java. This config contains some colors field. And i want read this fields in compile time and generate style.xml based on these fields. This config file located on src/main/java. How i can create instance this class(config)or parse .java file during custom gradle task executed?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.300656 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO