Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for delegateClosureOf (0.29 sec)

  1. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    .Use `delegateClosureOf<T> {}`
    ====
    include::sample[dir="snippets/kotlinDsl/interoperability-delegate-closure-of/kotlin",files="build.gradle.kts[tags=delegateClosureOf]"]
    ====
    
    There sometimes isn't a good way to tell, from looking at the source code, which version to use.
    Usually, if you get a `NullPointerException` with `closureOf<T> {}`, using `delegateClosureOf<T> {}`
    will resolve the problem.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  2. testing/architecture-test/src/changes/archunit-store/public-api-methods-return-allowed-types.txt

    Method <org.gradle.kotlin.dsl.GroovyInteroperabilityKt.delegateClosureOf(java.lang.Object, kotlin.jvm.functions.Function1)> has arguments/return type groovy.lang.Closure, kotlin.Unit that are not Gradle public API or primitive or built-in JDK classes or Kotlin classes in (GroovyInteroperability.kt:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:21:31 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top