Revert "GRADLE-2814, GRADLE-2831: upgrade dependency on ant to 1.9.2" to check if this fixes the java 1.5 builds

This reverts commit 19b9b6deac31f03006fba0b11ffa80d8e55dd501.