Fixes for 1.0.0

The fix for "NullPointerException: enumType == null || name == null" is now ready.

It also includes a minor change to build.gradle to enable local testing of release builds.