DefaultTaskOutputsTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Ignore supported script language base packages for property inspection

We don't want to inspect any of the types from java.*, groovy.* or kotlin.*.

  1. … 8 more files in changeset.
Ignore supported script language base packages for property inspection

We don't want to inspect any of the types from java.*, groovy.* or kotlin.*.

  1. … 8 more files in changeset.
Merge branch 'master'

  1. … 5 more files in changeset.
Remove unnecessary annotations from tests

  1. … 1 more file in changeset.
Ignore methods annotated with ReplacedBy

  1. … 11 more files in changeset.
Add property handlers to unit tests

  1. … 2 more files in changeset.
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.
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.
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.
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.
Moved some direct usages of `ImmutableFileCollection` to use `FileCollectionFactory` instead, so that there are fewer places that know how to create various `FileCollection` implementations.

  1. … 25 more files in changeset.
Moved some direct usages of `ImmutableFileCollection` to use `FileCollectionFactory` instead, so that there are fewer places that know how to create various `FileCollection` implementations.

  1. … 25 more files in changeset.