-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Console output defaults to plain
on Linux starting with Gradle 8.12
#32006
Comments
plain
on Linux starting with 8.12plain
on Linux starting with Gradle 8.12
Fwiw, I don't have that problem on my side ("works on my machine")
|
Color output works fine here, too, with Gradle 8.12 on Fedora Linux 41 (KDE spin, Konsole application). What's your |
@sschuberth my TERM variable is either |
I tried both like |
Given that others cannot reproduce, we need more information to understand what's causing this. Getting NixOS setup is not something we can do right now. |
I tried to get to the bottom of this but had no luck analyzing the issue. I tried running builds with First I set a break point in DefaultLoggingConfiguration#setConsoleOutput to see whether that is initialized the wrong way, but it's initialized with Then I tried to figure out how I tried setting a break point in the initialization of the AnsiConsole but again it never stopped there. I don't understand why it never hits the relevant break points, so right now I don't know how to continue. |
This is a NixOS specific problem that is related to patching native libraries, see NixOS/nixpkgs#356109 (comment). It will be fixed once that PR is merged. |
Current Behavior
When running a build with Gradle 8.12 on Linux the console output type is plain by default. Only if specifying
--console=rich
the output is rendered using the rich console.Expected Behavior
When running a build without specifying the console output type it should default to the rich console output.
Context (optional)
No response
Self-contained Reproducer Project
This is unrelated to the project. Use any project generated with
gradle init
and compare the output between Gradle 8.12 and 8.11.1.Gradle version
8.12
Gradle version that used to work
8.11.1
Build scan URL (optional)
https://scans.gradle.com/s/dcoyey2rj5qf2
Your Environment (optional)
The text was updated successfully, but these errors were encountered: