Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add array type check to snapshotter test

Move ClassLoaderHierarchyHasher to :hashing

  1. … 34 more files in changeset.
Some refactoring of the collection and map property implementations.

  1. … 3 more files in changeset.
Consolidated some `FileSystemLocation` implementations and added some unit test coverage.

  1. … 11 more files in changeset.
Add missing `value(T)` and `value(Provider<T>)` methods to various property types.

  1. … 15 more files in changeset.
Add `Provider.orElse()` methods, to use the value of the provider or some alternative if not present.

  1. … 6 more files in changeset.
Renamed class and associated unit test.

  1. … 7 more files in changeset.
Add `HasConfigurableValue.disallowChanges()` which disallows changes to a `Property` or `ConfigurableFileCollection` without finalizing the value.

  1. … 8 more files in changeset.
Implicitly finalize the value of task properties with type `ConfigurableFileCollection` when task execution commences, as is done for `Property` types.

  1. … 12 more files in changeset.
Improve error messages for managed factories

  1. … 2 more files in changeset.
Fixed managed property generation for `Property<T>` types where `T` is a parameterized type.

  1. … 4 more files in changeset.
Refactor a few things to clean up

  1. … 3 more files in changeset.
Use a factory id rather than the public class for identifying managed factories

  1. … 19 more files in changeset.
Simplify managed factory lookups

  1. … 10 more files in changeset.
Make managed factory registries hierarchical

  1. … 2 more files in changeset.
Move managed factories to a registry

  1. … 34 more files in changeset.
Move value snapshotting to modelCore

    • -0
    • +23
    ./org/gradle/internal/snapshot/impl/AbstractBean.java
    • -0
    • +21
    ./org/gradle/internal/snapshot/impl/Bean.groovy
    • -0
    • +244
    ./org/gradle/internal/snapshot/impl/SnapshotSerializerTest.groovy
    • -0
    • +22
    ./org/gradle/internal/snapshot/impl/Thing.groovy
    • -0
    • +21
    ./org/gradle/internal/snapshot/impl/Type1.groovy
  1. … 80 more files in changeset.
Cache the constructors used to create task instances when reading from the instant execution cache.

  1. … 2 more files in changeset.
Reuse the in-memory caching strategy for `NamedObjectInstantiator`, rather than using a custom implementation.

  1. … 4 more files in changeset.
Replace most usages of `NamedObjectInstantiator.INSTANCE` with injection of a global service instead. This allows the instantiator to be contextualized, for example to handle caching of the generated types.

  1. … 27 more files in changeset.
Copy the caching strategy of `NamedObjectInstantiator` to `CrossBuildInMemoryCacheFactory` so that it can be reused, and use it to cache the details of generated classes.

  1. … 10 more files in changeset.
Inline org.gradle.testing.internal.util.Specification

  1. … 53 more files in changeset.
Improve warning message for mutable properties

  1. … 2 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
    • +1
    ./org/gradle/util/ConfigureUtilTest.groovy
  1. … 157 more files in changeset.
Do not run the constructors of tasks that are deserialized from the instant execution cache.

  1. … 21 more files in changeset.
Simplify how task input dependencies are discovered by `TaskInput`, so that the dependencies are visited instead of being added as artificial elements of the input file collection.

Also simplify the resolution of task dependencies provided by `TaskDependencyContainer` and `Provider` instances.

  1. … 9 more files in changeset.
Added `getLocationOnly()` to file system properties, to provide lazy access to just the location of the file system element, rather than both the location and the content of the file system element.

This can be used when mapping the location of a task output to produce an input to some other task, without implying a dependency on the producing task. For example, an IDE project file generation task may need to know where some output will end up (so need to know its location) but does not use the content of the output.

  1. … 9 more files in changeset.
Simplify `DefaultTypeAnnotationMetadataStore#validateSetterForMutableType` using the newly defined non-generic `propertyNameFor`

  1. … 3 more files in changeset.
Add `PropertyValidationAccess#validateMutableNonFinalField` to encourage final fields in tasks

  1. … 8 more files in changeset.
Test for conflicting annotations on field and method