Changed static version to a Gradle dynamic one

Also replaced the deprecated assetDir with the new runDir and prepended
the mcversion to the build version.