Incorect Java bytecode when using Groovy trait from imported java library using Gradle(Annotation enum params are missing)

Hi everyone. I have described my issue on Stackoverflow yesterday and I am placing it also here because I think it can have something common with gradle groovy plugin because of groovy compilation task.

Detailed description is here:

Any ideas what could be the problem or about next steps?

Thank you,

At least some hint that it is a problem of gradle import or groovy compilation would be useful. :innocent: It