Skip to content

Commit

Permalink
ngr: Fix Gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Oct 30, 2023
1 parent 92411d0 commit a8946f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pueblo/ngr/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ def install(self) -> None:
if self.has_pom_xml:
run_command("mvn install")
elif self.has_gradle_files:
run_command("gradle wrapper")
if shutil.which("gradle"):
run_command("gradle wrapper")
run_command("./gradlew install")
else:
raise NotImplementedError("Unable to invoke target: install")
Expand Down

0 comments on commit a8946f9

Please sign in to comment.