Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix several tests

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

  1. … 19 more files in changeset.
Deprecate using `File` as InputArtifact (#8935)

Only Provider<FileSystemLocation> should be used as input artifact going forward.

  1. … 12 more files in changeset.
Deprecate using `File` as InputArtifact (#8935)

Only Provider<FileSystemLocation> should be used as input artifact going forward.

  1. … 12 more files in changeset.
Emit deprecation warning

  1. … 12 more files in changeset.
Report @Incremental used on @Input properties

  1. … 7 more files in changeset.
Report @Incremental used on @Input properties

  1. … 7 more files in changeset.
Move ReplacedBy to org.gradle.api.model

That seems to be a better package than the top-level org.gradle.api.

  1. … 6 more files in changeset.
Move ReplacedBy to org.gradle.api.model

That seems to be a better package than the top-level org.gradle.api.

  1. … 6 more files in changeset.
Move ReplacedBy to org.gradle.api.work

  1. … 6 more files in changeset.
Don't inspect generated types for annotated properties, instead inspect the public type. This avoids some unnecessary work.

Also fix a typo in a couple of validation messages.

  1. … 9 more files in changeset.
Don't inspect generated types for annotated properties, instead inspect the public type. This avoids some unnecessary work.

Also fix a typo in a couple of validation messages.

  1. … 9 more files in changeset.
Test fixes for changes to artifact transform APIs.

  1. … 2 more files in changeset.
Test fixes for changes to artifact transform APIs.

  1. … 2 more files in changeset.
Merge pull request #8581 from gradle/sg/provider/replacedby

Add ReplacedBy attribute to identify properties that are replaced by …

Remove InjectTransformParameters

The annotation is not required any more.

  1. … 4 more files in changeset.
Add @Incubating to ReplacedBy

  1. … 1 more file in changeset.
Move ReplacedBy to org.gradle.api

Make sure we get an error if you combine two annotations with ReplacedBy

  1. … 9 more files in changeset.
Change `ValidateTaskProperties` task to also validate the properties of artifact transform actions and parameter types.

The task treats all problems with these types as errors, which is the same as the behaviour runtime. This is another step towards reporting on problems with all plugin types consistently at runtime and plugin build time, and later in other places too. There are still some task type checks that are reported only by the validation task and some artifact transform checks that are reported only at runtime. These can be cleaned up later.

  1. … 8 more files in changeset.
Change `ValidateTaskProperties` task to also validate the properties of artifact transform actions and parameter types.

The task treats all problems with these types as errors, which is the same as the behaviour runtime. This is another step towards reporting on problems with all plugin types consistently at runtime and plugin build time, and later in other places too. There are still some task type checks that are reported only by the validation task and some artifact transform checks that are reported only at runtime. These can be cleaned up later.

  1. … 8 more files in changeset.
Rename { -> Inject}TransformParameters

  1. … 11 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.
Rework the validators used by the `ValidateTaskProperties` task so they use the same API to report problems as validators in other places do.

  1. … 9 more files in changeset.
Rework the validators used by the `ValidateTaskProperties` task so they use the same API to report problems as validators in other places do.

  1. … 9 more files in changeset.
Add some more integration tests

Load precompiled scripts from classloader

  1. … 10 more files in changeset.
Rename transform API input types

`PrimaryInput -> InputArtifact`

`PrimaryInputDependencies -> InputArtifactDependencies`

  1. … 29 more files in changeset.
Working pre-compiled scripts

  1. … 11 more files in changeset.
Inspect the properties of an artifact transform action and fail if there are any validation issues. This step also makes the property metadata available for cache key calculation and up-to-date checks, but this isn't used yet. The change also makes the artifact transform specific annotations visible to validation of other types, such as tasks.

  1. … 5 more files in changeset.