I am trying to do C++ example in gradle
I am getting error as below
Total time: 2.896 secs
[thinkpalm@localhost gradle-cpp]$ gradle task
FAILURE: Build failed with an exception.
Build file ‘/home/thinkpalm/Desktop/Gradle/gRADleC/gradle-cpp/build.gradle’ line: 4
What went wrong:
A problem occurred evaluating root project ‘gradle-cpp’.
Could not find method libs() for arguments [build_5wi0mgh6d37hsdz5jn6d51naw$_run_closure1@71e26d] on root project ‘gradle-cpp’.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
What might be reason ?? Any Idea ?