How to specify a classifier in a gradle dependency's dependency?

There is no simpler solution. You can shorten the code by using short dependency notation (e.g. "com.google.inject:guice:3.0:no_aop").