Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
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. … 165 more files in changeset.
Add JavaScript sample

    • -0
    • +10
    • -0
    • +45
    • binary
    • -0
    • +5
    • -0
    • +169
    • -0
    • +84
    • -0
    • +13
    • -0
    • +0
    • -0
    • +5
Remove the section which recommends no daemon in CI from user guide

Temporarily reverted change to the handling of linker args on `AbstractLinkTask`.

Added `ProviderFactory.listProperty()` method to allow a property of `List<T>` to be created.

Added `@since` Javadoc tags to some new methods.

Fix failed FindBugs integration test on Windows

Support for FindBugs JVM arguments (#781)

Support for FindBugs JVM arguments

Fix some typo/grammatical errors in documentation

Remove out-of-date daemon description

Added `debuggable` flag to `AbstractLinkTask` and changed the C++ and Swift plugins to set this to `true` for the debug variants of each library, executable and test suite.

Changed the Visual C++ toolchain to understand this flag and add the appropriate linker arguments.

Generate a separate `pdb` file for each object file when compiling using Visual C++, to allow compilation of multiple source files to happen in parallel.


Added `Provider.getOrElse(T)` that returns the value of the provider or a default value, and `` that returns a provider that maps the value of the provider using the given transformer function. This allows a new value to be derived lazily from some calculated value.

Changed the signature of `ProviderFactory.provider(Callable<T>)` to `provider(Callable<? extends T>)`.

Fix typo: `to to` -> `to`

Changed the C++ and Swift plugins so that by default debuggable binaries are built for the debug variant, and non-debuggable optimized binaries are built for the release variant.

Added `debuggable` and `optimized` flags to `AbstractNativeCompileTask` and changed the tool chain implementation to generate the relevant compiler options. The C++ and Swift plugins set these flags on the compile tasks.

Also changed `AbstractNativeCompileTask` and `AbstractLinkTask` task types to provide default values for compiler args and macros (both empty) rather than forcing build logic to always set these.

  1. … 3 more files in changeset.
Minor edit to release notes.

    • -1
    • +1
Merge branch 'master' into pm/plugins-dsl/script-plugins

Polish `DefaultServiceRegistry`

Fix link to native compilation release notes section

    • -1
    • +1
Coverage for plugin resolution strategies and script plugins

Merge pull request #2849 from gradle/rbo/kotlin-dsl/0.11.1

Upgrade gradle-kotlin-dsl {0.11.0 => 0.11.1}

Minor edit on coverage for script plugins classloading visibility

Move ScriptPluginUseIntegrationTest to its right package

Fix coverage for script plugins classloading visibility on Windows

Script plugins classloading visibility coverage

Further polishing of Gradle 4.2 release notes

    • -15
    • +10
Coverage for remote script plugins being cached across projects

Add 0.11.1 release notes

    • -0
    • +90
Merge branch 'release'