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