About 9,370,000 results
Open links in new tab
  1. Difference between using gradlew and gradle - Stack Overflow

    Jan 31, 2017 · The difference lies in the fact that ./gradlew indicates you are using a gradle wrapper. The wrapper is generally part of a project and it facilitates installation of gradle. If you …

  2. Manually install Gradle and use it in Android Studio

    That should force Gradle to "download" the package from your filesystem and set it up as it expects, while leaving other machines ok when you commit the gradle directory to your VCS.

  3. How do I tell Gradle to use specific JDK version? - Stack Overflow

    Gradle 6.7+ — Use Gradle Toolchain Support The right way to do this with modern versions of Gradle (version 6.7+) is to use the Gradle Java Toolchain support.

  4. Gradle - Could not find or load main class - Stack Overflow

    Jul 24, 2014 · 2 I fixed this by running a clean of by gradle build (or delete the gradle build folder mannually) This occurs if you move the main class to a new package and the old main class is …

  5. java - Gradle build without tests - Stack Overflow

    I want to execute gradle build without executing the unit tests. I tried: gradle -Dskip.tests build That doesn't seem to do anything. Is there some other command I could use?

  6. Android Gradle build fails from cached files - Stack Overflow

    Nov 17, 2021 · I am trying to build one of my android libraries and everytime I get the following: > Task :app:mergeDebugResources FAILED FAILURE: Build failed with an exception. * …

  7. Error message "gradlew: command not found" - Stack Overflow

    The first thing is you need to run the gradle task that you mentioned for this wrapper. Example: gradle wrapper After running this command, check your directory for the gradlew and …

  8. Starting from which version does Gradle support Java 21?

    Sep 20, 2023 · The release notes say: With this release, Gradle now fully supports compiling, testing and running on Java 21. If migrating from older Gradle, see What's new in Gradle 8.0. …

  9. Gradle finds wrong JAVA_HOME even though it's correctly set

    Gradle doesn't do this. The ppa is provided by someone else, and so you'd have to ask them. In general, I would recommend to bootstrap Gradle via the Gradle Wrapper, rather than installing …

  10. How can I force Gradle to redownload dependencies?

    Nov 26, 2012 · If you are using a recent version of Gradle, you can use --refresh-dependencies option. ./gradlew build --refresh-dependencies you can refer to the Gradle manual. The - …