Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Avoidance (0.23 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFeatureFlagsIntegrationTest.groovy

            then:
            configurationCache.assertStateStored()
            outputContains("Groovy compilation avoidance is an incubating feature")
    
            when:
            configurationCacheRun("compileGroovy", "--rerun-tasks")
    
            then:
            configurationCache.assertStateLoaded()
            outputContains("Groovy compilation avoidance is an incubating feature")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/task_configuration_avoidance.adoc

    [[task_configuration_avoidance]]
    = Avoiding Unnecessary Task Configuration
    
    As of Gradle 5.1, we recommend that the configuration avoidance APIs be used whenever tasks are created.
    
    image::writing-tasks-4.png[]
    
    [[sec:how_does_it_work_config_api]]
    == Task configuration avoidance API
    The configuration avoidance API avoids configuring tasks if they will not be used for a build, which can significantly impact total configuration time.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 27 23:45:25 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/TaskAvoidancePerformanceTest.groovy

    class TaskAvoidancePerformanceTest extends AbstractCrossBuildPerformanceTest {
    
        def "help with lazy and eager tasks"() {
            given:
            runner.testGroup = "configuration avoidance"
            runner.buildSpec {
                displayName("lazy")
                invocation {
                    tasksToRun("help")
                }
            }
            runner.baseline {
                displayName("eager")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/JavaTestProjectGenerator.groovy

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 13:08:21 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/releases/migrating/migrating_from_groovy_to_kotlin_dsl.adoc

    --
    
    [[configuration-avoidance]]
    == Configuration avoidance
    
    Gradle 4.9 introduced a new API for creating and configuring tasks in build scripts and plugins. The intent is for this new API to eventually replace the existing API.
    
    [quote]
    ____
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  6. build-logic-commons/build-platform/build.gradle.kts

    val codenarcVersion = if (isGroovy4) "3.1.0-groovy-4.0" else "3.1.0"
    val spockVersion = if (isGroovy4) "2.2-groovy-4.0" else "2.2-groovy-3.0"
    val asmVersion = "9.7"
    // To try out better kotlin compilation avoidance and incremental compilation
    // with -Pkotlin.incremental.useClasspathSnapshot=true
    val kotlinVersion = providers.gradleProperty("buildKotlinVersion")
        .getOrElse(embeddedKotlinVersion)
    
    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr2_build_lifecycle.adoc

    It is important to note that while `task1` was configured and executed, `task2` was not.
    This is called _task configuration avoidance_ and prevents unnecessary work.
    
    Task configuration avoidance is when Gradle avoids configuring `task2` when `task1` was called and `task1` does NOT depend. on `task2`.
    
    [.text-right]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 05:44:04 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/core-plugins/build_init_plugin.adoc

    * Increased compile avoidance - Reducing the number of transitive dependencies leaked from a project also reduces the likelihood that an ABI change will trigger recompilation of consumers. Gradle will also spend less time indexing the dependencies for its up-to-date checks.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:43 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    For example, on `tasks` they are of type `TaskProvider<T>` and provide a lazy reference and lazy configuration of the underlying task.
    Here are some examples that illustrate the situations in which configuration avoidance applies:
    
    [source,kotlin]
    ----
    tasks.test {
        // lazy configuration
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/apps/v1/types_swagger_doc_generated.go

    	"collisionCount":         "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.",
    	"conditions":             "Represents the latest available observations of a DaemonSet's current state.",
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:14:59 UTC 2024
    - 32.5K bytes
    - Viewed (0)
Back to top