NamedDomainObjectCollectionExtensions.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Convert to multi-project build in preparation to adding new modules

See #304

    • -50
    • +0
    ./NamedDomainObjectCollectionExtensions.kt
  1. … 263 more files in changeset.
Move away from deprecated `ref.javaClass` to `ref::class.java`

See #264

    • -1
    • +1
    ./NamedDomainObjectCollectionExtensions.kt
  1. … 9 more files in changeset.
Allow element creation via delegate provider

After considering a few different names for the delegate provider (`new`

/ `factory` / `builder` / `creator` / `creating`) I settled on

`creating`:

* it shares the same prefix with the element creation methods

(`create`) so it's arguably more discoverable

* it reads more like prose, specially when coupled with the type

tasks {

val deploy by creating(Copy::class) {

// ...

}

}

Resolves #35

    • -0
    • +7
    ./NamedDomainObjectCollectionExtensions.kt
  1. … 3 more files in changeset.
Allow delegated property access to NamedDomainObjectCollection items

See: #35, #200

    • -0
    • +43
    ./NamedDomainObjectCollectionExtensions.kt
  1. … 6 more files in changeset.