support user dictionary selection; upgrade gradle to new version