Gradle api/tools to find annotations in .class files

(Appu Goundan) #1

I’m writing a plugin and wondering if there any quick way to detect annotations in Java “.class” files in the build directory? They are runtime visible and I have a task that does some processing on certain classes after compliation. One option is to just use an existing java library but I’m wondering if there’s some gradle specific options.

(Peter Niederwieser) #2

Gradle doesn’t provide any public API for this.