Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for myConfig (0.07 sec)

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

    For example, avoid doing something like this:
    
    ```kotlin
        configurations {
            val myConfig = create("myConfig")
        }
    
        tasks.register("myTask") {
                // This is not safe, as the execution of this block may not occur, or may not occur in the order expected
              configurations["myConfig"].attributes {
                  attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage::class.java, Usage.JAVA_RUNTIME))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
Back to top