Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Removed unused class.

Introduced a type to represent the details of an input reference extracted from the rules DSL.

Also changed how input references are passed to TransformedModelDslBacking so that a generated method rather than an annotation is used.

  1. … 6 more files in changeset.
Changed rule DSL transformation to distinguish between those input references in the body of a rule closure, and those inside a closure that is a potential nested rule.

This is not used yet. Separating these will allow input references to appear in nested rule closures without being treated as inputs of the outer rule closure.

  1. … 5 more files in changeset.
Use an interface for injecting the inputs into a transformed rules closure. Also defer registration of configure/initialize rules closures until the projections of the subject are known.

  1. … 9 more files in changeset.
Removed speculative conversion of property references in DSL rules closures into input references. Can now only use $('p') expressions to refer to other rule elements as inputs.

  1. … 11 more files in changeset.
Treat dynamic property references at the top level of a rule closure in the DSL as an input reference.

    • -0
    • +79
    ./PotentialInput.java
    • -0
    • +53
    ./PotentialInputs.java
    • -0
    • +42
    ./PotentialInputsAccess.java
  1. … 9 more files in changeset.
Support detecting variables as input references in the model DSL.

For now, this only works if you want to reference 'thing'.

  1. … 4 more files in changeset.
First steps at interpreting bare property reads as input references in the model DSL.

Current implementation treats any property reference chain, starting with the bare word 'thing' as a reference.

  1. … 2 more files in changeset.
Allow top level, managed, elements to be added to the model graph.

Example:

model {

thing(Thing) {

}

}

Works for both styles of model blocks.

+review

  1. … 27 more files in changeset.
Pass model views directly instead of wrapping in an Inputs object.

  1. … 55 more files in changeset.
Peel back a layer of objects when preparing rule inputs.

  1. … 6 more files in changeset.
Annotate all org.gradle.model.* implementation classes with @ThreadSafe and @NotThreadSafe

+review REVIEW-5242

  1. … 55 more files in changeset.
Rename $ method to avoid need of checkstyle config change.

+review REVIEW-5177

  1. … 3 more files in changeset.
Execute rule closures in the context of other top level closures in a script.

+review REVIEW-5177

    • -0
    • +48
    ./RuleInputAccess.java
  1. … 9 more files in changeset.
Add a public API for the $() methods implicitly available in DSL rules.

+review REVIEW-5177

    • -0
    • +56
    ./RuleInputAccessBacking.java
  1. … 4 more files in changeset.
First cut at DSL model rules taking inputs.

+review

    • -0
    • +62
    ./ContextualInputAccess.java
  1. … 40 more files in changeset.