Updated gradle build script to the new package of N-API.