Can't change gradle version intellij

johnlacrosse

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
CrazyCoder

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.

edited at
0

Comments

0 comments
Login to comment

Related

How can i change the Gradle Version in InteliJ?

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

Can't update Android gradle plugin version

Gradle can't find kotlin compiler version

How can I change the Kotlin compiler version on IntelliJ?

How can I change the colors of the filenames in the Version Control window in intelliJ?

Gradle change checkstyle version

How to change the Gradle version?

rbenv can't change global ruby version

How can I change the internal groovy version from gradle 6?

Can we change gradle plugin version in Android studio

Can't import jar file dependency using Gradle and Intellij

Can't configure gradle on Jax-RS project in IntelliJ

IntelliJ can't run gradle project due to missing Class

IntelliJ can't build Gradle project due to missing libraries

Can't find "Sync Project with Gradle Files" button in IntelliJ IDEA

Can't find org.junit in Intellij with Gradle

IntelliJ can't find slf4j logger with gradle

Can't use Android Gradle Plugin 3.0.+ with IntelliJ IDEA

intellij idea version control can‘t work well

Gradle toolVersion can't be used as a version of core plugin

How to change java version in Intellij?

How to change VSCode Gradle Version?

Gradle can execute TornadoFX app without main() while IntelliJ can't...why?

Can't run STS after change to Java 7 version

Can't change Mockito version in POM of springboot project

Suddenly can't change Python version of runtime in Google Colab

Can't change Anaconda env default python version

IntelliJ (using gradle): Can't find Kotlin plugin even though it's installed