Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for groovyDsl (0.07 sec)

  1. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_4.adoc

     * You can no longer use GPath syntax with link:{javadocPath}/org/gradle/api/tasks/TaskCollection.html#withType-java.lang.Class-[tasks.withType()].
    +
    Use https://docs.groovy-lang.org/latest/html/documentation/#_spread_operator[Groovy's spread operator] instead.
    For example, you would replace `tasks.withType(JavaCompile).name` with `tasks.withType(JavaCompile)*.name`.
    
    [[changes_4.8]]
    == Upgrading from 4.7 and earlier
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/working_with_files.adoc

    The first is a minor inconvenience, but slashy strings have the advantage that you don't have to escape backslash ('\') characters in the regular expression.
    The second issue stems from Groovy's support for embedded expressions using `${ }` syntax in double-quoted and slashy strings.
    --
    
    The closure syntax for `rename()` is straightforward and can be used for any requirements that simple regular expressions can't handle.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 70.5K bytes
    - Viewed (0)
Back to top