How to create project with server module and android module?

when i compile my project ( the following error occurs:

Information:Gradle: Executing tasks: [:droid:generateDebugSources, :droid:generateDebugTestSources] Information:03.01.15 14:01 - Compilation completed with 1 error and 0 warnings in 5 sec Error:Cannot compile Groovy files: no Groovy library is defined for module ‘server’

How to fix it? Please help

You have to add Groovy as a dependency to your ‘server’ project, simply adding the ‘groovy’ plugin is not sufficient. Check out the documentation for the ‘groovy’ plugin for details.