Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 69 for Avoidance (0.17 sec)

  1. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/BuildOperationsAssertions.kt

        private
        val compileAvoidanceWarnings = output.lines()
            .filter { it.startsWith("Cannot use Kotlin build script compile avoidance with") }
            // filter out avoidance warnings for versioned jars - those come from Kotlin/libraries that don't change when code under test changes
            .filterNot { it.contains(Regex("\\d.jar: ")) }
    
        init {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/caching_java_projects.adoc

    [[annotation_processors]]
    === Annotation processors
    
    Compile avoidance works out of the box.
    There is one caveat though: when using annotation processors, Gradle uses the annotation processor classpath as an input.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 8.2K 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. docs/LICENSE

              violation; or
    
           2. upon express reinstatement by the Licensor.
    
         For the avoidance of doubt, this Section 6(b) does not affect any
         right the Licensor may have to seek remedies for Your violations
         of this Public License.
    
      c. For the avoidance of doubt, the Licensor may also offer the
         Licensed Material under separate terms or conditions or stop
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 10 16:50:06 UTC 2021
    - 18.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/normalization/KotlinCompileClasspathFingerprinter.kt

            if (e is CompileAvoidanceException) {
                val jarPath = zipFileSnapshot.absolutePath
                logger.info("Cannot use Kotlin build script compile avoidance with {}: {}", jarPath, e.message)
            }
        }
    }
    
    
    internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. 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)
  9. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache_concepts.adoc

    For more information on compile avoidance see the <<java_plugin.adoc#sec:java_compile_avoidance,corresponding section>>.
    
    [[runtime_classpath]]
    ==== Runtime classpath normalization
    
    Similar to compile avoidance, Gradle also understands the concept of a runtime classpath, and uses tailored input normalization to avoid running e.g. tests.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 17:38:38 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  10. 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)
Back to top