title: How to force NetBeans 11.2 to use gradle wrapper packaged in project
body: <p>i'm fighting with NetBeans for a few days. I have to work on a project that is build with gradle, the Project comes with an gradle Wrapper. When i try to build the Project from command line, everything works fine, i just run <code>./gradlew build</code> in my projects root directory.
  When i try to build the project within NetBeans, my IDE is using it's own gradle installation which is located in my user directory, but it has the wrong version. The checkbox "Prefer to use Gradle Wrapper that Comes with the Project" is ticked. If i try to change my gradle settings in my IDE, NetBeans got Stuck within a Dialog which says that there is a long operation in progress and i have to kill the NetBeans process.</p>
  
  <p>I'm Using tht following tools to build my Project:
  Windows 10 (sadly), NetBeans 11.2 and Oracle JDK 1.8.0_231.</p>
  
  <p>NetBeans gave me the following command line output:</p>
  
  <pre><code>JAVA_HOME="C:\Program Files\Java\jdk1.8.0_231"
  cd D:\repos\project\app; C:\Users\username\.gradle\wrapper\dists\gradle-4.10.2-bin\cghg6c4gf4vkiutgsab8yrnwv\gradle-4.10.2\bin\gradle --configure-on-demand clean build
  Parallel execution with configuration on demand is an incubating feature.
  
  FAILURE: Build failed with an exception.
  
  * Where:
  Script 'D:\repos\project\app\build.gradle' line: 1
  
  * What went wrong:
  A problem occurred evaluating project ':app'.
  &gt; Failed to apply plugin [id 'com.android.application']
     &gt; Minimum supported Gradle version is 5.4.1. Current version is 4.10.2. If using the gradle wrapper, try editing the distributionUrl in C:\Program Files\NetBeans-11.2\gradle\wrapper\gradle-wrapper.properties to gradle-5.4.1-all.zip
  
  * Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  
  * Get more help at https://help.gradle.org
  
  BUILD FAILED in 0s
  </code></pre>
  
  <p>There are no special configs made in the build.gradle or gradle.properties.</p>
  
  <p>Has someone an idea how to force NetBeans to use the packaged gradle?</p>
  
  <p>Thanks for response!</p>