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

  1. … 12 more files in changeset.
Fix path sensitivity for property declarations in tests

  1. … 8 more files in changeset.
Consolidate the way we end validation warnings with a period

  1. … 4 more files in changeset.
Correctly report everything

  1. … 20 more files in changeset.
Consolidate type validation

Use ValidateContext with a few standard implementations instead of the many different interfaces and implementations we used to collect valdiation problems before. This fixes issues with types being displayed inconsistently.

The implementation is not fully correct yet: we now fail to display the correct type for problems that are bound to a type instead of a property.

  1. … 47 more files in changeset.
Explicitly return no annotation metadata for primitive types, arrays and annotations

  1. … 1 more file 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.
Rename ParameterValidationContext to WorkValidationContext

  1. … 41 more files in changeset.
Mix a configure block for each property of type `NamedDomainObjectContainer` into the Groovy DSL. This makes the Groovy DSL consistent with the Kotlin DSL, which does the same thing (more or less).

  1. … 3 more files in changeset.
Support `ConfigurableFileTree` and `NamedDomainObjectContainer<T>` for managed properties (that is, abstract read-only properties where Gradle provides an implementation).

  1. … 4 more files in changeset.
Make annotations inherited from interface take precedence over… (#10472)

Make annotations inherited from interface take precedence over superclass

Generate a display name for nested objects that are created for managed properties.

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

  1. … 5 more files in changeset.
Merge branch 'master' into lptr/model/interface-annotations-take-precedence-over-superclass

  1. … 1 more file in changeset.
Revert "Make it a strict error if a method is both replaced and declares a type"

This reverts commit ae4f4169cb1130345dcdf78d52a0ebc3747a299c.

  1. … 3 more files in changeset.
Include the property display name, if defined, in error messages when a `Property` value is set using a value or provider whose type is not assignable to the property type.

Also validate and sanitize the values used to set a `Property` convention.

  1. … 9 more files in changeset.
Make annotations inherited from interface take precedence over superclass

  1. … 1 more file in changeset.
Make it a strict error if a method is both replaced and declares a type

  1. … 3 more files in changeset.
Split test into two

Fail rather than emitting a deprecation warning when the value of a `Property` typed task property is changed after the task starts execution.

Also include the property display name, if attached, in the 'cannot change the value' error messages.

  1. … 23 more files in changeset.
Tweak test names

Fix typo

Ignore methods annotated with ReplacedBy

  1. … 11 more files in changeset.
Rename visit{Error -> Warning} and visit{ErrorStrict -> Error}

  1. … 15 more files in changeset.
Fix verify error when decorating class that has action methods or constructors with wide parameters.

Long and double takes 2 stack slots, but AsmBackedClassGenerator doesn't count it in mind and creates incorrect bytecode for methods like these:

void name(long arg, Action action)

<init>(double arg, Object any)

(when wide parameter isn't last argument in general case).

Signed-off-by: Sergey Shatunov <me@prok.pw>

  1. … 1 more file in changeset.
Attach a display name to the value of `Property` typed properties for decorated types.

In this commit, this is applied only to read-only properties with non-final getters.

  1. … 5 more files in changeset.
Attach a display name to the value of `Property` typed properties for decorated types.

In this commit, this is applied only to read-only properties with final getters.

  1. … 5 more files in changeset.
Include some information about the owning task or extension object in the display name for a managed `Property<T>` instance.

  1. … 7 more files in changeset.
Generate a basic display name for `Property` instances created as the value for a read-only managed property. Use the display name in 'this property has no value' error messages to help with problem diagnosis.

The display name could include some more context, could be used in more error messages, and be applied to more things. This commit is simply an incremental improvement and later changes will improve diagnostics further.

  1. … 23 more files in changeset.
Merge branch 'release'

  1. … 6 more files in changeset.