Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixes.

  1. … 1 more file in changeset.
Fixes.

  1. … 24 more files in changeset.
Add `BuildServiceParameters.None` marker type that is used to indicate that a build service does not take any parameters, to match the pattern used in other places.

Extract some validation logic from several places so it can be reused in the places where parameterized isolated objects, such as artifact transforms or build services, are registered.

  1. … 35 more files in changeset.
Add `BuildServiceParameters.None` marker type that is used to indicate that a build service does not take any parameters, to match the pattern used in other places.

Extract some validation logic from several places so it can be reused in the places where parameterized isolated objects, such as artifact transforms or build services, are registered.

  1. … 35 more files in changeset.
Polish code

  1. … 2 more files in changeset.
Rename StaleClassCleaner to StaleOutputCleaner and add Javadoc

  1. … 12 more files in changeset.
Merge StaleClassCleaner with SimpleStaleClassCleaner

  1. … 3 more files in changeset.
Use Deleter in cleaning stale outputs, take 2

This covers the remaining use cases:

- stale class cleanup for compilers

- stale overlapping output cleanup

  1. … 30 more files in changeset.
Replace 'Matchers' with 'CoreMatchers'

So we do not require 'org.hamcrest:hamcrest-library' as additional

dependency anymore. Which was only available for most of the tests

because it leaked onto the test compile classpath.

  1. … 162 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 283 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 284 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 285 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 285 more files in changeset.
Fail configuration if target machine is unsupported

  1. … 27 more files in changeset.
Spelling (#8199)

Fix several spelling issues.

  1. … 36 more files in changeset.
Split methods required in Worker

  1. … 18 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. … 67 more files in changeset.
Add some validation of extension constructors, and tweak some error messages.

  1. … 15 more files in changeset.
Remove some direct usages of `ClassGenerator` and `DirectInstantiator` from outside of the `Instantiator` infrastructure.

  1. … 3 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.
Update Guava to 26.0

- Replace `Files.readLines()` with `Files.asCharSource().readLines()`

- Replace `Files.write()` with `Files.asCharSink().write()`

- Change `Objects.toStringHelper()` to `MoreObjects.toStringHelper()`

- Change `Iterators.emptyIterator()` to `Collections.emptyIterator()`

- Use `MoreExecutors.directExecutor()` with `Futures.addCallback`

- Replace `CharMatcher.JAVA_UPPER_CASE`/`JAVA_ISO_CONTROL` with

`CharMatcher.javaUpperCase()`/`CharMatcher.javaIsoControl()`

- Replace `new SimpleTimeLimiter()` with `SimpleTimeLimiter.create()`

- Update `DistributionIntegrationSpec` because Guava requires 4

additional downstream dependencies:

* org.checkerframework:checker-compat-qual

* com.google.errorprone:error_prone_annotations

* com.google.j2objc:j2objc-annotations

* org.codehaus.mojo:animal-sniffer-annotations

  1. … 25 more files in changeset.
Separate `ITaskFactory` from `NamedEntityInstantiator<Task>` so that the instantiator is applied as a decoration over the factory.

  1. … 36 more files in changeset.
Remove deprecated Class.newInstance() (#6496)

`Class.newInstance()` was deprecated in Java 9.

  1. … 34 more files in changeset.
Replace internal `SourceDirectorySetFactory` with a method on public `ObjectFactory` service, to allow plugins to create instances of this type without resorting to using internal types.

  1. … 44 more files in changeset.
Delete empty package directories

When all classes of a package have been removed,

the package directory in the output directory

will now be removed as well. This ensures that

the resulting JAR will be byte-for-byte equivalent

to a clean build.

  1. … 5 more files in changeset.
Delete stale generated sources on full recompiles

Fixes https://github.com/gradle/gradle/issues/4935

  1. … 13 more files in changeset.
Add method to `DomainObjectCollection` to configure each element with a given type when the element is required. This allows build logic to lazily configure tasks that are created using `createLater()` and domain object elements that are added to a container using a provider.

  1. … 29 more files in changeset.
Re-use `TaskDependencyResolveContext` during task graph building (#3807)

All dependency resolution in Gradle should happen via TaskDependencyResolveContext during when building the task graph. Calling `DefaultTaskDependency.getDependencies(task)` should be avoided since it creates a new `TaskDependencyResolveContext` and needs to calculate the dependencies again.

`SkipTaskWithNoActionsExecuter` now re-uses the `TaskExecutionGraph` to determine the dependencies of a task instead of re-evaluating them.

After this commit, the task properties are resolved at three places:

- When building the task graph for walking the input files

- When checking if there a task can be executed in parallel with the currently running tasks based on on the declared outputs, destroyables and task local state

- For using the task properties during task execution

The last two places could still be unified into one, but that seems to be a little bit more complicated.

  1. … 23 more files in changeset.