Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Update version of SLF4J used

  1. … 1 more file in changeset.
Revert "Update many internal dependencies"

This reverts commit b5b3dc8b8960425b369d4e68d10838f8f36309a6.

  1. … 1 more file in changeset.
Revert "Merge remote-tracking branch 'origin/sg/60/upgrade-deps' into release"

This reverts commit 6acb7a36f4d04aa6fcd884a4f2c7e0ebb5403de0, reversing

changes made to 112092596e2cfd7afacc5535c48bfafb3f597a48.

  1. … 3 more files in changeset.
Update many internal dependencies

  1. … 1 more file in changeset.
Update many internal dependencies

  1. … 1 more file in changeset.
Polish for Checkstyle

Suppress 'Failed to load class "org.slf4j.impl.StaticMDCBinder".' slf4j message

Signed-off-by: Semyon Levin <levin.semen@gmail.com>

    • -0
    • +26
    ./StaticMDCBinder.java
Allow `StandardOutputListener` logging destinations to be added only from inside a build, and avoid setting up the pipeline that supports this in places where builds will not run, such as the client (except when --no-daemon), worker processes or tapi provider (except when in embedded mode).

  1. … 12 more files in changeset.
Simplify time handling internally and for build scans (#2857)

* Don't make TimeProvider Serializable.

This isn't safe and generally doesn't make sense.

* Extract and promote the concept of a build timer.

This was previously not well defined and being overlaid with the concept of when a user/tool requested something, which is not always the same thing.

* Pare down the deprecated org.gradle.util.Clock down to the minimum required.

Internal usage is replaced by a `getStartTime()` directly on BuildRequestContext.

What is left is only kept for backwards compatibility with scans.

* Rename TimeProvider to Clock.

* Move BuildExecutionTimer out of baseServices into core, and into a better package.

* Remove unused.

* Simplify the time package by merging types.

* Prevent the client's build started timestamp from being later than when the provider received the build request.

* Provide a dedicated mechanism for conveying the build start time to build scans.

* Consolidate the ways of formatting durations.

  1. … 179 more files in changeset.
Make observed wall clock timestamps monotonic and provide clock view for scans plugin (#2806)

Make Gradle's clock suitable for use by build scans.

- Guarantee that timestamps issued by the build runtime are monotonic

- Provide a dedicated view of the clock for build scans, allowing the name/shape of the internal clock to change later

  1. … 23 more files in changeset.
Removed `TimeProvider.getCurrentTimeForDuration()`

The `ReliableTimeProvider` now produces a ms timestamp that is usable

for durations, and `Timers.startTimer()` is best for calculating

relative times.

  1. … 12 more files in changeset.
Moved `Clock` and `TimeProvider` into a separate package

This commit reverts recent changes to the API of

`org.gradle.util.Clock`, and instead deprecates the existing type

replacing with a new internal type. This was done because the

`ExtractDslMetaDataTask` uses this type for timing, and external plugins may have copied this pattern.

`org.gradle.util.Clock` is now deprecated.

  1. … 103 more files in changeset.
Moved the slf4j bridging classes to live in o.g.internal.logging.slf4j.

  1. … 16 more files in changeset.
Moved logging test fixtures from 'core' to 'logging' project.

    • -0
    • +51
    ./StaticLoggerBinder.java
  1. … 49 more files in changeset.