Update gradle build system to work with pd-for-android.

I've send a corresponding pull request for pd-for-android. The complete set of changes brings the gradle build system to a working state.

Regards,

Felix Homann