gradlew command not found?

后端 未结 14 1940
花落未央
花落未央 2020-12-12 17:38

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

14条回答
  •  时光取名叫无心
    2020-12-12 18:21

    Linux / MacOS

    As noted in the comments, just running

    ./gradlew
    

    worked for me. Adding the ./ tells it to look in the current directory since it isn't in the path.

    Windows PowerShell

    .\gradlew
    

提交回复
热议问题