The executable for launching test is build in /build/tmp/bin (as all executables).
All files and folders in build/tmp will be parts of the archive. The test executable does not have to be in the archive. Move this executable in an other folders (/build/test-obj for example).
This configuration should be done in the testing module gradle-cpp-cppUnitTest.