NestedModelDslUsageIntegrationSpec.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Software Model @UnsupportedWithInstantExecution

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +2
    ./NestedModelDslUsageIntegrationSpec.groovy
  1. … 76 more files in changeset.
Mark software model tests as @UnsupportedWithInstantExecution

to reduce CI time and noise when making changes

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +2
    ./NestedModelDslUsageIntegrationSpec.groovy
  1. … 77 more files in changeset.
Mark software model tests as @UnsupportedWithInstantExecution

to reduce CI time and noise when making changes

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +2
    ./NestedModelDslUsageIntegrationSpec.groovy
  1. … 77 more files in changeset.
Mark software model tests as @UnsupportedWithInstantExecution

to reduce CI time and noise when making changes

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +2
    ./NestedModelDslUsageIntegrationSpec.groovy
  1. … 77 more files in changeset.
Replace 'Matchers' with 'CoreMatchers'

So we do not require 'org.hamcrest:hamcrest-library' as additional

dependency anymore. Which was only available for most of the tests

because it leaked onto the test compile classpath.

    • -1
    • +1
    ./NestedModelDslUsageIntegrationSpec.groovy
  1. … 162 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./NestedModelDslUsageIntegrationSpec.groovy
  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./NestedModelDslUsageIntegrationSpec.groovy
  1. … 283 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./NestedModelDslUsageIntegrationSpec.groovy
  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./NestedModelDslUsageIntegrationSpec.groovy
  1. … 284 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./NestedModelDslUsageIntegrationSpec.groovy
  1. … 285 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./NestedModelDslUsageIntegrationSpec.groovy
  1. … 285 more files in changeset.
Added some test coverage for using `$.p` expressions in closures passed to `Project.model { }`.

These closures are not transformed and this usage should fail. The `Project.model { }` will be removed once the model DSL supports use cases such as 'apply these rules to all projects in the build'.

    • -5
    • +39
    ./NestedModelDslUsageIntegrationSpec.groovy
Fixed DSL rule extraction when a closure that looks like a nested DSL rule is nested inside a closure that is not.

    • -1
    • +1
    ./NestedModelDslUsageIntegrationSpec.groovy
  1. … 4 more files in changeset.
Remove test fixture that enables transformed model rules DSL. Not required any more.

    • -5
    • +0
    ./NestedModelDslUsageIntegrationSpec.groovy
  1. … 43 more files in changeset.
Treat dynamic property references at the top level of a rule closure in the DSL as an input reference.

    • -1
    • +1
    ./NestedModelDslUsageIntegrationSpec.groovy
  1. … 12 more files in changeset.
Unnecessary inputs.

    • -3
    • +3
    ./NestedModelDslUsageIntegrationSpec.groovy
Introduce ModelMap extends CollectionBuilder and allow to use them interchangeably in rules

+review REVIEW-5491

    • -1
    • +1
    ./NestedModelDslUsageIntegrationSpec.groovy
  1. … 117 more files in changeset.
Change rule source marking from annotation to base class

+review REVIEW-5359

    • -3
    • +2
    ./NestedModelDslUsageIntegrationSpec.groovy
  1. … 73 more files in changeset.
Don't implement Plugin in rule sources used in tests if it's not necessary

+review REVIEW-5239

    • -8
    • +7
    ./NestedModelDslUsageIntegrationSpec.groovy
  1. … 7 more files in changeset.
Introduce a feature toggle for the new model DSL, off by default.

    • -0
    • +5
    ./NestedModelDslUsageIntegrationSpec.groovy
  1. … 7 more files in changeset.
Detect attempted use of model {} at top level with non literal closure arg.

+review REVIEW-5177

    • -0
    • +25
    ./NestedModelDslUsageIntegrationSpec.groovy
  1. … 3 more files in changeset.
Allow use of model {} in nested scopes, but inputs are not supported.

+review REVIEW-5177

    • -0
    • +150
    ./NestedModelDslUsageIntegrationSpec.groovy
  1. … 14 more files in changeset.