-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(gradle): check if java is installed #29572
fix(gradle): check if java is installed #29572
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
2a6ddc0
to
c93a107
Compare
View your CI Pipeline Execution ↗ for commit 57202fc.
☁️ Nx Cloud last updated this comment at |
c93a107
to
63c7ccf
Compare
01a42d2
to
ab0106a
Compare
@@ -23,7 +23,7 @@ export function execGradleAsync( | |||
args: ReadonlyArray<string>, | |||
execOptions: ExecFileOptions = {} | |||
): Promise<Buffer> { | |||
return new Promise<Buffer>((res, rej) => { | |||
return new Promise<Buffer>((res, rej: (stdkout: Buffer) => void) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return new Promise<Buffer>((res, rej: (stdkout: Buffer) => void) => { | |
return new Promise<Buffer>((res, rej: (stdout: Buffer) => void) => { |
ab0106a
to
57202fc
Compare
<!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> throw an error when `./gradlew wrapper` or `java -version` failed to run: <img width="949" alt="Screenshot 2025-01-09 at 5 33 38 PM" src="https://github.com/user-attachments/assets/f0b99adc-ff80-4962-8dfe-c1ad11944cac" /> <img width="933" alt="Screenshot 2025-01-09 at 5 32 20 PM" src="https://github.com/user-attachments/assets/11d2286a-cc04-48a0-9839-b67cc93d5cfc" /> ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes # (cherry picked from commit f9c306a)
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Current Behavior
Expected Behavior
throw an error when
./gradlew wrapper
orjava -version
failed to run:Related Issue(s)
Fixes #