I have tried changing gradle-wrapper-properties to a newer version, but regardless of what I do, when I run gradle --version I Get 4.4.1. How can I change the gradle version?
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Somewhat related to this answer.
IDE Gradle settings do not affect the Terminal. You need to adjust the PATH
in your system environment settings so that Gradle 6.8.3 installation bin
subdirectory is the first one or the only one entry. Then logout/login or reboot for the PATH
changes to have effect on all the processes including IntelliJ IDEA Terminal.
However, if you import the project in IntelliJ IDEA and run Gradle tasks from the Gradle tool window, it will use whatever version you have configured in the IDE: Settings (Preferences on macOS) | Build, Execution, Deployment | Build Tools | Gradle | Use Gradle from.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments