Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Simplify the wiring of the `clean` task in `LifecycleBasePlugin`.

  1. … 1 more file in changeset.
Simplify the wiring of the `clean` task in `LifecycleBasePlugin`.

  1. … 1 more file in changeset.
Apply `Anonymous type can be replaced with lambda` inspection the whole project

  1. … 665 more files in changeset.
Use method reference, where applicable

  1. … 168 more files in changeset.
Use method reference, where applicable

  1. … 166 more files in changeset.
Organize imports

  1. … 338 more files in changeset.
Replace anonymous classes with lambdas

  1. … 710 more files in changeset.
Replace anonymous classes with lambdas

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

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

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

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

  1. … 999 more files in changeset.
Move `TreeFormatter` out of core and decouple from `TreeVisitor` by introducing an interface to represent something that can receive diagnostic information.

  1. … 69 more files in changeset.
Decorate all domain collection container for emitting build ops (#7876)

* Update all domain object container with decorator for tracing executed callback actions

* Add decorator to a ll required occurances of DefaultDomainObjectSet

* Keep ctor for DefaultPolymorphicDomainObjectContainer as its used in gradle-idea-ext plugin

* Bring back DefaultDomainObjectSet constructor used by the android plugin

* keep backwards compatibility

  1. … 121 more files in changeset.
De-incubate 2.x native tasks/plugins/model

  1. … 149 more files in changeset.
LifecycleBasePlugin implement Plugin<Project> and remove Incubating

Related #5964

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@plexxi.com>

Use a single project lock any time a project can be mutated

  1. … 10 more files in changeset.
Make sure clean tasks are instantiated while project state is mutable

Use register() over createLater() in all built-in plugins

  1. … 9 more files in changeset.
Partially push instantiator through all containers

  1. … 32 more files in changeset.
Use lazy task APIs to define the lifecycle tasks, rather than using the internal placeholder task API (and compensating logic to make sure there are no name collisions).

Cleanup stale output files during execution (#2572)

We now keep a registry of all the outputs generated by Gradle which will be reset on each version change. If Gradle encounters an existing output file, then it will remove it if is not part of the registered outputs and owned by Gradle/the build. We do also not remove directories containing outputs from different tasks.

The check to delete the stale outputs happens now just before the task executes and not up-front as it did before.

The `build` directory and all delete targets of the `clean` task are registered as owned by Gradle and are considered safe to delete.

Currently, the set of recorded task output files is only growing if we do not change the Gradle version. In the future we can improve on this by also detecting that some directories where removed (e.g. by running a clean task) and reflect this in the registry.

Fixes #1168

Fixes #973

+review REVIEW-6557

  1. … 32 more files in changeset.
Refine ExtensionContainer

Less parameterized types.

Reorder new methods parameters to prevent potential conflicts.

Favor iterating over entry set for Maps.

Add some words to release notes.

  1. … 9 more files in changeset.
Register extensions public types

- ExtraPropertiesExtension

- PlatformContainer

- BuildTypeContainer

- FlavorContainer

- NativeToolChainRegistry

- DistributionContainer

- PublishingExtension

  1. … 5 more files in changeset.
Remove Clean task and buildDir registration

+review REVIEW-6424

  1. … 2 more files in changeset.
Add BuildOutputCleanup implementation

- Detect Gradle version changes by keeping a `built.bin` in the project cache dir

- Register a listener that triggers clean up at the end of the configuration phase

- The build output cleanup cache only invokes the deleter when the marker file is missing

- Provide a registry that plugins can contribute output files to

- In LifecycleBasePlugin (the base plugin), register the buildDir and clean task target files

- Use a build operation when cleaning stale output files

+review REVIEW-6424

  1. … 18 more files in changeset.
Merge branch 'master' into dependent-components

  1. … 1 more file in changeset.
Don't resolve native source set's source directories to determine whether any source directories have been specified.

Merge remote-tracking branch 'origin/master' into dependent-components

* origin/master: (88 commits)

Extract `RuntimeShadedJarCache` service

Test configuration failure for included builds

Update Gson to 2.7

Convert ContextClassLoaderDispatchTest from JMock to Spock

GRADLE-3522 Add back some type safety.

Rename "compile cpu time" to "jit compiler cpu time" for clarity

Revert "Expose per-property previous task output files"

Polish design doc for preferProjectModules

Check that scheduled change id is the one that was requested

Resolve last change id once

Clarify code in scheduling jobs and check for success

Make 'speed' the default

Create special details for missing files

Design doc for preferProjectModules (#596)

Remove jna from native services

Tagging is now explicitly done by creating a build step in TeamCity

Only compare speed when failing a performance test - The memory usage of tests is giving us a bad signal right now. We will come back later and figure out how we want to prevent memory regressions.

Remove Gradle 1.1 from baseline for JavaConfigurationPerformanceTest

Cleanup code a tiny bit

Show full command to reproduce perf test failures

...

  1. … 1 more file in changeset.
Fix too coarse input declaration in native binaries rules

- promote ProjectLayout registration from JvmComponentPlugin into

ComponentModelBasePlugin

- use ProjectLayout as input instead of File buildDir in native binaries

rules

This fixes GRADLE-3523 and allow build authors to register root nodes of

type File.

+review REVIEW-6171

  1. … 3 more files in changeset.
Introduce DependentBinariesResolver in platformBase

Ecosystem agnostic way to query the software model for dependent

binaries.

Backed by dependent binaries resolution strategies.

Only a base strategy which do no resolution is registered.

  1. … 9 more files in changeset.
Remove deprecation warnings for custom lifecycle tasks

+review REVIEW-5956

  1. … 2 more files in changeset.