Speed up test target by invoking gradlew only once.