Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for resolveAndLockAll (0.28 sec)

  1. platforms/documentation/docs/src/snippets/dependencyManagement/dependencyLocking-lockingAllConfigurations/tests/locking-all.sample.conf

    executable: gradle
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 139 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/dependencyManagement/dependencyLocking-lockingAllConfigurations/groovy/build.gradle

    plugins {
        id 'java'
    }
    
    // tag::locking-all[]
    dependencyLocking {
        lockAllConfigurations()
    }
    // end::locking-all[]
    
    // tag::resolve-all[]
    tasks.register('resolveAndLockAll') {
        notCompatibleWithConfigurationCache("Filters configurations at execution time")
        doFirst {
            assert gradle.startParameter.writeDependencyLocks : "$path must be run from the command line with the `--write-locks` flag"
        }
        doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 632 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/dependencyManagement/dependencyLocking-lockingAllConfigurations/kotlin/build.gradle.kts

    plugins {
        java
    }
    
    // tag::locking-all[]
    dependencyLocking {
        lockAllConfigurations()
    }
    // end::locking-all[]
    
    // tag::resolve-all[]
    tasks.register("resolveAndLockAll") {
        notCompatibleWithConfigurationCache("Filters configurations at execution time")
        doFirst {
            require(gradle.startParameter.isWriteDependencyLocks) { "$path must be run from the command line with the `--write-locks` flag" }
        }
        doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 637 bytes
    - Viewed (0)
Back to top