Add Gradle build

I implement a Gradle build file which produces the standalone JAR file
without also producing the temporary JAR containing the launcher code
only.