Task not found in root project

Hi,

I am totally new to Gradle and am trying to use it to build C++ examples for
simple binary encoding on Linux. I was able to download Gradle 5.6.3 and my gradle daemon is running. However, I cannot build any apps as none of the ‘tasks’ in root project are found. Any help is appreciated.
Below is the output of my cppbuild:

us00ushrapp01d:/home/vladt/encode/simple-binary-encoding-master/ ./cppbuild/cppbuild
Will make with “-j 4”.
Build directory (/home/vladt/encode/simple-binary-encoding-master/cppbuild/Release) exists, removing.
– The C compiler identification is GNU 4.4.7
– The CXX compiler identification is GNU 4.4.7
– Check for working C compiler: /usr/bin/cc
– Check for working C compiler: /usr/bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– Looking for pthread.h
– Looking for pthread.h - found
– Looking for pthread_create
– Looking for pthread_create - not found
– Looking for pthread_create in pthreads
– Looking for pthread_create in pthreads - not found
– Looking for pthread_create in pthread
– Looking for pthread_create in pthread - found
– Found Threads: TRUE
– Found Java: /production/software/x64/jre1.8.0_231/bin/java (found version “1.8.0.231”)
– Looking for clock_gettime in rt
– Looking for clock_gettime in rt - found
Build type(Release): perf tests turning OFF bounds checks
– Configuring done
– Generating done
– Build files have been written to: /home/vladt/encode/simple-binary-encoding-master/cppbuild/Release
Scanning dependencies of target gtest
Scanning dependencies of target sbe-jar
[ 2%] Creating directories for ‘gtest’
[ 4%] Generating SBE jar
[ 6%] Performing download step (verify and extract) for ‘gtest’
– verifying file…
file=’/home/vladt/encode/simple-binary-encoding-master/cppbuild/googletest-release-1.8.0.zip’
– verifying file… done
– extracting…
src=’/home/vladt/encode/simple-binary-encoding-master/cppbuild/googletest-release-1.8.0.zip’
dst=’/home/vladt/encode/simple-binary-encoding-master/cppbuild/Release/thirdparty/gtest/src/gtest’
– extracting… [tar xfz]

FAILURE: Build failed with an exception.

  • What went wrong:
    Task ‘test’ not found in root project ‘sbe’.

  • Try:
    Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 904ms
make[2]: *** […/…/sbe-all/build/libs/sbe-all-1.15.0-SNAPSHOT.jar] Error 1
make[1]: *** [CMakeFiles/sbe-jar.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
– extracting… [analysis]
– extracting… [rename]
– extracting… [clean up]
– extracting… done
[ 10%] No update step for ‘gtest’
[ 10%] No patch step for ‘gtest’
[ 12%] Performing configure step for ‘gtest’
– gtest configure command succeeded. See also /home/vladt/encode/simple-binary-encoding-master/cppbuild/Release/thirdparty/gtest/src/gtest-stamp/gtest-configure-.log
[ 14%] Performing build step for ‘gtest’
– gtest build command succeeded. See also /home/vladt/encode/simple-binary-encoding-master/cppbuild/Release/thirdparty/gtest/src/gtest-stamp/gtest-build-
.log
[ 16%] No install step for ‘gtest’
[ 18%] Completed ‘gtest’
[ 18%] Built target gtest
make: *** [all] Error 2