How can I get Gradle module name programmatically

Is it possible to obtain Gradle’s module name programmatically in Java code?

I need it to access module’s build files under the MODULE_NAME/build/intermediates directory, but hardcoding module name is a bad idea.


Source: android

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.