I am working on a Java project with gradlew. I use Ubuntu Linux as my OS. When I run \"gradle\" it runs, and gives me info. But when I run \"gradlew\", it outputs as \"No co
You must have the Gradle wrapper available locally before using gradlew
. To construct that
gradle wrapper # --gradle-version v.xy
Optionally, pass the gradle version explicitly. This step produces the gradlew binary.And then you should be able to
./gradlew build
If you are using mac, try giving root access to gradlew by doing
chmod +x ./gradlew