Replaced reflection with FMLAT.
Tweaked the gradle build file.