How to change the version of the 'default gradle wrapper' in IntelliJ IDEA?

前端 未结 8 1164
忘掉有多难
忘掉有多难 2020-12-23 15:42

I want to use Gradle 1.10 instead of 1.9. I cannot seem to find where to change this.

If I put this:

task wrapper(t         


        
8条回答
  •  甜味超标
    2020-12-23 16:27

    I just wanted to chime in that I hit this after updating Android Studio components.

    What worked for me was to open gradle-wrapper.properties and update the gradle version used. As of now for my projects the line reads:

    distributionUrl=https\://services.gradle.org/distributions/gradle-4.5-all.zip
    

提交回复
热议问题