DefaultPropertyWalkerTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Do not cache type annotation metadata across builds

We only use it in DefaultTypeMetadataStore that is already cached across builds (and even that might not be worth it).

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

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

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

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

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

  1. … 8 more files in changeset.
Make the detection of Groovy-generated getters generic

We don't want DefaultTypeAnnotationMetadataStore to depend directly on Groovy. Instead, we can inject code that detects Groovy generated 'is'-getters.

  1. … 8 more files in changeset.
Scan methods first

  1. … 23 more files in changeset.
Intermediate step to method-based annotation metadata collection

  1. … 30 more files in changeset.
Intermediate step to method-based annotation metadata collection

  1. … 30 more files in changeset.
Intermediate step to method-based annotation metadata collection

  1. … 30 more files in changeset.
Intermediate step to method-based annotation metadata collection

  1. … 30 more files in changeset.
Intermediate step to method-based annotation metadata collection

  1. … 30 more files in changeset.
Handle Internal annotation in TypeAnnotationMetadataStore

  1. … 8 more files in changeset.
Handle Internal annotation in TypeAnnotationMetadataStore

  1. … 8 more files in changeset.
Handle Internal annotation in TypeAnnotationMetadataStore

  1. … 8 more files in changeset.
Handle Internal annotation in TypeAnnotationMetadataStore

  1. … 8 more files in changeset.
Handle Internal annotation in TypeAnnotationMetadataStore

  1. … 8 more files in changeset.
Fix several tests

  1. … 19 more files in changeset.
Fix several tests

  1. … 19 more files in changeset.
Fix several tests

  1. … 19 more files in changeset.
Fix several tests

  1. … 19 more files in changeset.
Fix several tests

  1. … 19 more files in changeset.
Fix several tests

  1. … 19 more files in changeset.
Require `@Incremental` for incremental inputs

Only properties annotated with `@Incremental` can be queried for

incremental changes. The other properties are considered

non-incremental and changes to those cause the unit of work run

non-incrementally.

  1. … 37 more files in changeset.
Introduce `@IncrementalInput` annotation

Only parameters annotated with `@IncrementalInput` can be queried for

changes. All the other input parameters cause a full rebuild.

  1. … 32 more files in changeset.
Introduce `@IncrementalInput` annotation

Only parameters annotated with `@IncrementalInput` can be queried for

changes. All the other input parameters cause a full rebuild.

  1. … 31 more files in changeset.
Do not allow `@CacheableTask` to be attached to types that are not `Task` subtypes or `@CacheableTransformAction` to be attached to types that are not `TransformAction` subtypes.

The check is performed as part of constructing the `TypeMetadata` for a given type, so is currently only applied for those things that use this. This includes tasks, artifact transform parameters, artifact transform actions, and types that are statically reachable via `@Nested` properties. For tasks, the result of the check is visible as an error (not warning) in the output of `ValidateTaskProperties` for tasks and is also an error at runtime (yes, at runtime). For artifact transforms, the result is visible as an error at runtime. This is intended to be a step towards making the result of all checks visible both at runtime and plugin build time for tasks and all other types.

  1. … 19 more files in changeset.
Do not allow `@CacheableTask` to be attached to types that are not `Task` subtypes or `@CacheableTransformAction` to be attached to types that are not `TransformAction` subtypes.

The check is performed as part of constructing the `TypeMetadata` for a given type, so is currently only applied for those things that use this. This includes tasks, artifact transform parameters, artifact transform actions, and types that are statically reachable via `@Nested` properties. For tasks, the result of the check is visible as an error (not warning) in the output of `ValidateTaskProperties` for tasks and is also an error at runtime (yes, at runtime). For artifact transforms, the result is visible as an error at runtime. This is intended to be a step towards making the result of all checks visible both at runtime and plugin build time for tasks and all other types.

  1. … 19 more files in changeset.
Use a slightly more informative error message when a known but unsupported annotation is attached to an artifact transform parameters object.

  1. … 10 more files in changeset.