Removed un-needed  method checkPreconditions from GeneratePaletteTask.
added to build.gradle conditional signing.