Added gradle build

It's mostly just an import of the original ant build. Also, a wrapper
ant build was needed.