Fix sample build.gradle to work with new android plugin APIs.

Title says it all.