Initial commit of gradle built ninja code

don't ask me what this is... its for the ninja crew ;-)