Grails test classes are not getting compiled

Hi

I created a grails application and using gradle for build it.

When i try gradle build, am getting the below error:

Only classes and closures can be used fo
r attribute 'value' in @grails.test.mixin.TestFor
 @ line 11, column 10.
   @TestFor(DomainService)
            ^