Update g-test script to use gradle wrapper