Adapting build file from cloaked batman.
Should work out of the box once ForgeGradle is released.