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
-1
votes
1 answer

How can I add flags included in a shell script?

I want to put myScript.sh on autostart. I have set the configuration. chmod +x /etc/init.d/myScript.sh And enable it sudo update-rc.d /etc/init.d/myScript.sh defaults But when I run the myScript.sh I get an error because of the flag -bootRun.…
euraad
  • 2,467
  • 5
  • 30
  • 51
-1
votes
1 answer

gradle 4.9 - gradlew and java 10 still get: Could not determine java version from '10'

gradlew seems to still have problems with java 10 (please see below). i remove gradlew/, do a gradle wrapper with 4.9, and try a gradlew -v, i get some warnings and: Could not determine java version from '10'. does anyone have a workaround? edit:…
Ray Tayek
  • 9,841
  • 8
  • 50
  • 90
-1
votes
2 answers

Is it possible to copy a gradle wrapper with a gradle task?

i am developing spring boot microservices. Then I generated a service-template and added a gradle wrapper. Then I have a seperate bootstrap project with a gradle task wo copy the template to a generate a new project. But if I copy the template,…
m1well
  • 716
  • 4
  • 15
  • 28
-1
votes
1 answer

Lint - FAILURE: Build failed with an exception

I want to run gradlew :lint on my project. But,I am getting Error: C:\[ProjectName]>gradlew :lint Starting a Gradle Daemon, 1 incompatible and 3 stopped Daemons could not be reused, use --status for details Incremental java compilation is an…
Beginner
  • 1,202
  • 2
  • 20
  • 29
-1
votes
1 answer

When trying to export libgdx desktop using command on android studio, the command is not recognized

So I went onto the internet to find out how to export my libgdx project from android studio, and I learned that you can generate it by using the command gradlew desktop:dist. But when I type this into the terminal window in android studio, it says,…
George C.
  • 13
  • 2
-1
votes
1 answer

Run executables in gradlew

How can I run the mvn executable from the gradle wrapper? task install(type: Exec, dependsOn: assemble) { description = "Som description." executable = 'mvn' args = ["install:install-file", ] } I can access the command…
Diolor
  • 13,181
  • 30
  • 111
  • 179
-2
votes
1 answer

Gradlew build fail

When i'm trying to run ./gradlew build i get an error BUILD FAILED in {Time}.If you see the logs below you knew that i'm trying install a minecraft mod to all versions with JVM option. Operation System(OS): Arch linux Java version: Java 8 Runtime…
-2
votes
1 answer

Gradle Dependecies Command cant find other maven repos

I want to check my projects dependencies but having problem when running ./gradlew app:dependencies Here is the result of terminal. Thanks for helps.
Emre Aktürk
  • 3,306
  • 2
  • 18
  • 30
-2
votes
2 answers

Samza build with gradle failing

Samza build with gradle is failing while executing testing with on samza-core. Below is the exception I am facing: Please share your thoughts... org.apache.samza.config.factories.TestPropertiesConfigFactory > testCanReadPropertiesConfigFiles…
Raja
  • 513
  • 5
  • 18
1 2 3
80
81