Use Gradle's mkdir rather than Ant's.  Takes care of missing parents and such.