How to use Perf4J with AspectJ using Gradle?

I was looking at using Perf4J with @Profiled annotation in one of my gradle project. Is there an example showing how to do that?

To get started, I am trying to run the @Profiled example described here http://perf4j.codehaus.org/devguide.html

However, the example presented on the dev page requires doing things manually. How can I replicate them in Gradle?