Skip to content

Conversation

@CedNaru
Copy link
Member

@CedNaru CedNaru commented Apr 22, 2025

The build task was only displaying something when the entire task was done running.
I added streaming to it so you can see what is happening in case the task takes a while. On top of that, I added a small animation to show that there is activity.
You also have now a selector to pick which task you want to run.

So far, only 3 options are present:

  • Regular build (debug by default)
  • Release build
  • Generate Embedded JRE.

I also fixed a small bug, the editor was still complaining about the lack of bootstrap (if the project hasn't been built once yet).
It was an error I made in the PR removing the editor bootstrap, I only wanted to display an error if the game itself was launched without bootstrap, but I used the project manager hint instead of the editor hint.

gradle_runner.mp4
@CedNaru CedNaru requested review from chippmann and piiertho April 22, 2025 09:59
@CedNaru CedNaru marked this pull request as ready for review April 22, 2025 09:59
@CedNaru CedNaru changed the title Add streaming to gradle output Improve Gradle Task Runner Apr 22, 2025
@CedNaru CedNaru force-pushed the feature/streaming-gradle-taskq branch from 570f55a to b07b1cd Compare April 22, 2025 10:41
chippmann
chippmann previously approved these changes Apr 22, 2025
Copy link
Contributor

@chippmann chippmann left a comment

Choose a reason for hiding this comment

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

Just a minor nit. Otherwise looks good!

@CedNaru CedNaru merged commit 32e15ed into master Apr 23, 2025
64 checks passed
@CedNaru CedNaru deleted the feature/streaming-gradle-taskq branch April 23, 2025 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants