Can't build project from github sources

Hi all, I’ve faced with problems when tried to build jme from sources.
I cloned sources from the github and tried to use ‘gradle build’ from the root via terminal. I also have tried to import project via build.gradle to IntelliJ Idea but it also failed. Here is my error:

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/essildoor/code/java/jmonkeyengine/jme3-bullet-native/build.gradle' line: 14

* What went wrong:
A problem occurred evaluating project ':jme3-bullet-native'.
> Could not find method libraries() for arguments [build_ckkpiqe7mvfe0q9c4a2g6dmfa$_run_closure2@5c70d7f0] on project ':jme3-bullet-native'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.


Total time: 5.189 secs

I’m using MacOS, java 1.8_u40, gradle 2.3

use gradlew instead of gradle.

Thanks a lot, it works fine =)