Rather than rely on looking up the MANIFEST.MF file - use / write a gradle plugin or task that auto generates the build information in a class, so that it can be used by MongoDriverInformation.
The Scala driver uses a BuildInfo plugin to generate the driver version on compile.