Questions tagged [gradlew]

gradlew is an executable file created by the gradle wrapper plugin, to replace the normal gradle executable for a project

While the normal Gradle executable comes with the installed version and therefor depends on that version, gradlew downloads the correct version of Gradle (specified in the Gradle build script) and thereby ensures that the build is independent of the installed Gradle version.

One obtains a gradlew executable by applying the Gradle wrapper plugin in the build script, specifying a Gradle version and executing

gradle wrapper

After that gradlew can be used whenever one normally would use Gradle.

Official Gradle website: https://gradle.org/

1210 questions
0
votes
1 answer

Android compile project with target="android-19" failed

Masters, Recently I am trying to build android project with gradle, and since there one API(@JavascriptInterface annotation) I need to use is only up to api level 17, so I changed my targetAPILevel to 19 in project properties. And it works well when…
David_Wang
  • 652
  • 9
  • 20
0
votes
0 answers

Dependecy specified in Compile doesn't reflect for Runtime in Gradle

I am depending on apache commons lang jar. In Compile i added the following, now compilation succeeds but during runtime, I get classNoFound exception compile( 'org.apache.commons:commons-lang3:3.1.0', ) If i don't specify the above, even…
Vinod Jayachandran
  • 3,726
  • 8
  • 51
  • 88
0
votes
1 answer

Installing hibernate artifacts from source

I want to install Hibernate maven artifacts from source into my local maven repository. I've cloned the sources from https://github.com/hibernate/hibernate-orm. They are building fine using ./gradlew clean build. I've tried: ./gradlew clean…
rzymek
  • 9,064
  • 2
  • 45
  • 59
0
votes
0 answers

No mapping found for HTTP request with URI in DispatcherServlet

I have a question about one of the spring guides: Designing and Implementing RESTful Web Services with Spring I follow all the steps as described in the guide but I receive the following error when I try to use gradlew to execute the service as it…
-1
votes
1 answer

I wanna make apk for react native app and there is an error Gradle build failed with unknown error

implementation 'com.facebook.react:react-native:[0.32,)' I tried to do this but got the same error: and I update all required dependences and still same error and can't solve it so my some soultions if any one face same error
-1
votes
0 answers

Problem in running Android in React Native

When I run: npm run android, I get this error. Please share with me if anyone has any information on this.enter image description here. I installed the latest version of the SDK and changed its environment variables for Java Home, but the problem…
-1
votes
0 answers

Could not determine the dependencies of task ':location:compileDebugJavaWithJavac'

while running flutter code got this. Could not determine the dependencies of task ':location:compileDebugJavaWithJavac'. Cannot query the value of this provider because it has no value available. Should be running the project.
-1
votes
1 answer

Win32Exception: The system cannot find the file specified. Mobile Dependency Resolver in Unity

OS: Windows 11 [Latest Stable Build] Problem: I think the problem is with gradle and it is providing gradlew file but not gradlew.bat file I don't know why maybe I have WSL installed, or maybe I have few tools that replicate UNIX…
Vasu Grover
  • 114
  • 6
-1
votes
1 answer

./gradlew genSources failed while setting up fabric enviroment

Command: C:\Users\user\Downloads\template-mod-template-1.19.3> .\gradlew genSources --info Log: Initialized native services in: C:\Users\user\.gradle\native Initialized jansi services in: C:\Users\user\.gradle\native Received JVM installation…
-1
votes
1 answer

Gradle finished with non-zero exit value 255

I am very new to Java coding and I decided to modify Minecraft as a fun project following a tutorial. When I went to run the Minecraft client from the debug menu, I received: * What went wrong: Execution failed for task ':runClient'. > Process…
-1
votes
1 answer

DependencyReportTask "concatentation" with a multi gradle module

I have a multiple module gradle project. I am trying to run DependencyReportTask for each subproject (actually for each allprojects)....and then concatenate to a single file. If I do it like this: allprojects { /* create a .txt file for…
granadaCoder
  • 26,328
  • 10
  • 113
  • 146
-1
votes
1 answer

chat_bot apk with kivy tflearn tensorflow

kivy gradlew build error packageDebug failed gradle build is outdated sdk is depreceated and does nothing screenshot of error from terminal here is code and error link: https://github.com/bidursapkota00/chat_bot
Bidur
  • 1
  • 2
-1
votes
1 answer

Gradle Wrapper compile and build code and run a single unit test

Hey guys I am having a little trouble with the gradle wrapper. Is there any good way to compile all my code, compile all my tests, and run a single test. This is for a scripting command in a Jenkins pipeline. I have used ./gradlew build, which runs…
-1
votes
1 answer

SonarQube: Getting error Reports path not found or is not a directory and Classes not found during the analysis

Not able to do Sonar Analysis SUCCESSFULLY and didn't get ANALYSIS SUCCESSFUL with URL to browse on SonarQube Error logs:- 16:19:31 > Task :sonarqube 16:19:31 Reports path not found or is not a directory:…
Alin
  • 11
  • 7
-1
votes
1 answer

java.lang.IllegalArgumentException coming when executing ./gradlew check for running SOOT

java.lang.IllegalArgumentException at org.objectweb.asm.ClassReader.(ClassReader.java:185) at org.objectweb.asm.ClassReader.(ClassReader.java:168) at org.objectweb.asm.ClassReader.(ClassReader.java:439) at…
1 2 3
80
81