Updated gradle build.

Added structure for NFC write