ksugar / qupath-extension-sam

QuPath extension for Segment Anything Model (SAM)
GNU General Public License v3.0
91 stars 13 forks source link

How to build the project using gradlew? #18

Open Leonngm opened 5 months ago

Leonngm commented 5 months ago

Hi, thank you for the amazing extension. I am trying to make some minor modification to customize the extension for my usecase.

However, I am not really experienced with groovy/java and QuPath extensions. Following this tutorial it suggests that you only need to call gradlew build to build the extension. However, for me it gives the error:

Command 'gradlew' not found, did you mean:

  command 'gradle' from snap gradle (7.2)
  command 'gradle' from deb gradle (4.4.1-10)

I am working on Ubuntu 20.04, openjdk version 17.0.10.

I would really appreciate your help here. Please tell me if you need more information from my side.

Best regards, Leon

ksugar commented 4 months ago

Hi @Leonngm, thank you for your interest in this extension.

Could you try the following command?

./gradlew build

It needs to be started with the explicit ./ to indicate that you are running the local shell script.