Access internal class through reflection

This increases compatiblity with various Gradle versions.

Fixes #3
Bump up version number