Some tweaks to gradle, do not use for now.