build-profile

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Deprecate BuildListener#buildStarted and Gradle#buildStarted

Registering this callback within an init, settings or build script has

no effect as the build is already started. Those callback are also part

of an older API. Removing it from the public API will prevent further

user confusion.

  1. … 12 more files in changeset.
Reacquire project lock after work items in order to invoke TaskExecutionListener

- Add new internal task listener, and replace all internal uses of `TaskExecutionListener`

with the new API.

- Check for `TaskExecutionListener` to determine if project lock is required

  1. … 10 more files in changeset.
Dogfood native test fixtures

This commit replaces our custom test fixtures with the native "Java test fixtures".

The `TestFixturesPlugin` of our build has been simplified to leverage the native

test fixtures capabilities. Some noticeable changes:

- the `testFixtures` extension has been replaced with regular dependency declaration

- dependencies on test fixtures are now declared using the `testFixtures` keyword

- test fixtures properly declare an API and an implementation, meaning that the

implementation dependencies of test fixtures no longer leak into the compile

classpath of consumers (in particular tests)

  1. … 84 more files in changeset.
Change all subprojects to use 'implementation' dependencies

This includes:

- All projects now explicitly declare all dependencies to other

subprojects. This makes issues more visible, guards for accidental

addition of new dependencies, and leaks much less transitive

dependencies on the compile classpathes.

- All usages of 'runtime' to declare dependencies have been replaced

with 'runtimeOnly'

- All projects are now `java-library` (and declare this explicitly)

- Most remaining Groovy scripts are translated to Kotlin

- The old 'compile' and 'runtime' configurations are not

configured/created anymore for the 'testFixture' and 'integTest'

source sets.

- Some obsolete dependencies (see previous commits) are removed

- 'api' is used scarcely on purpose as the current project structure is

not well designed for this. The projects contain code for several

concerns of the build tool and thus putting complete projects on the

API of others exposes too much. They should be split up along

functional concerns first.

  1. … 112 more files in changeset.
Add missing @Override to all modules

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 999 more files in changeset.
Extract :buildProfile subproject from :core

  1. … 29 more files in changeset.
Revert "Merge pull request #7696 from gradle/marc/insights/extract-buildProfile-subproject"

This reverts commit ed2e38e2e4d6ffb1d15d5e0ffa74275622b063fe, reversing

changes made to 8a73c262ef5feca10ab1050302293b9c1ff14042.

  1. … 29 more files in changeset.
Extract :buildProfile subproject from :core

    • -0
    • +34
    ./build-profile.gradle.kts
    • -0
    • +269
    ./src/main/java/org/gradle/profile/BuildProfile.java
    • -0
    • +56
    ./src/main/java/org/gradle/profile/BuildProfileServices.java
    • -0
    • +55
    ./src/main/java/org/gradle/profile/CompositeOperation.java
    • -0
    • +58
    ./src/main/java/org/gradle/profile/ContinuousOperation.java
    • -0
    • +51
    ./src/main/java/org/gradle/profile/FragmentedOperation.java
    • -0
    • +48
    ./src/main/java/org/gradle/profile/Operation.java
    • -0
    • +153
    ./src/main/java/org/gradle/profile/ProfileEventAdapter.java
    • -0
    • +20
    ./src/main/java/org/gradle/profile/ProfileListener.java
    • -0
    • +211
    ./src/main/java/org/gradle/profile/ProfileReportRenderer.java
    • -0
    • +80
    ./src/main/java/org/gradle/profile/ProjectProfile.java
    • -0
    • +55
    ./src/main/java/org/gradle/profile/TaskExecution.java
    • -0
    • +20
    ./src/main/java/org/gradle/profile/package-info.java
  1. … 29 more files in changeset.