improve gradle performance by option.