Skip to content

Undocumented stacktrace property #30278

@mihalyr

Description

@mihalyr

Issue type

Missing information

Problem description

In #18713 an option was added to configure stacktraces with Gradle property org.gradle.logging.stacktrace. The PR also added a section to the documentation that we can still see for 7.6.4 for example here https://docs.gradle.org/7.6.4/userguide/build_environment.html#sec:gradle_configuration_properties But noticed that Gradle 8.x docs removed this property from the docs https://docs.gradle.org/8.10/userguide/build_environment.html#sec:gradle_configuration_properties

First I thought the feature was reverted, but it is not the case, it is still there

public static final String GRADLE_PROPERTY = "org.gradle.logging.stacktrace";
and still working as expected.

Context (optional)

The context is that I want to enable stacktraces by default for all gradle invocations in the CI without having to repeat the --stacktrace option with each command.

Page with the problem

https://docs.gradle.org/8.10/userguide/build_environment.html#sec:gradle_configuration_properties

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions