Skip to content

Commit

Permalink
Where are thou, Gradle?
Browse files Browse the repository at this point in the history
  • Loading branch information
eamonnmcmanus committed Apr 18, 2021
1 parent f5b2789 commit 5829fad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private BuildResult buildFakeProject() throws IOException {
}

private static Optional<File> getGradleInstallation() throws IOException {
Process proc = new ProcessBuilder("/bin/sh", "-c", "type gradle").start();
Process proc = new ProcessBuilder("/bin/sh", "-c", "ls -l /usr/bin/gradle").start();
try (InputStream in = proc.getInputStream()) {
int c;
while ((c = in.read()) >= 0) {
Expand Down

1 comment on commit 5829fad

@tbroyer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.