Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for realizes (0.23 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskConfigurationIntegrationTest.groovy

                    doLast {
                        assert defaultTaskRealizedCount == 0, "All DefaultTask shouldn't be realized"
                        assert zipTaskRealizedCount == 1, "All Zip task should be realized"
                    }
                }
            '''
    
            expect:
            succeeds "foo"
        }
    
        def "realizes only the task of the given type when verifying if a filtered task collection is empty"() {
            buildFile << '''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. build-logic/performance-testing/src/main/kotlin/gradlebuild/performance/PerformanceTestPlugin.kt

            }
            tasks.withType<Delete>().configureEach {
                if (name == "clean${name.capitalize()}") {
                    // do not use 'tasks.named("clean...")' because that realizes the base task to apply the clean rule
                    delete(performanceTestReport)
                    dependsOn("clean${performanceTestReportZipTask.name.capitalize()}")
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskCreationBuildOperationIntegrationTest.groovy

            verifyTaskIds()
            verifyTaskDetails(RegisterTaskBuildOperationType, withPath(':', ':foo')).children.empty
            def realize = verifyTaskDetails(RealizeTaskBuildOperationType, withPath(':', ':foo'))
            realize.children.empty
            realize.details.eager == false
        }
    
        def "op during realize are child ops"() {
            given:
            register('foo')
            register('bar')
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/dependencies/DefaultLocalConfigurationMetadataBuilder.java

                for (PublishArtifact ownArtifact : ownArtifacts) {
                    // The following line may realize tasks, so project lock must be held.
                    result.add(new PublishArtifactLocalArtifactMetadata(componentId, ownArtifact));
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 18K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java

     *     of the Java collection this collection property corresponds to</li>
     *     <li>{@link CollectingSupplier}, when the collection is still being added to - in that case,
     *     the collecting supplier will wrap a {@link Collector} that lazily represents the yet-to-be realized contents of the collection - see below for details</li>
     * </ul>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h

    //   . Legalizes control flow operations.
    //   . Decomposes compound resource operations so that the only remaining
    //     operations on resource variables are resource reads/writes..
    //   . Replaces resource reads/writes with function inputs/outputs and
    //     eliminates the use of resource variables.
    //   . Legalizes the operations to XLA HLO operations.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java

            return binder;
        }
    
        @Override
        public <T> T realize(String path, Class<T> type) {
            return realize(path, ModelType.of(type));
        }
    
        @Override
        public <T> T realize(String path, ModelType<T> type) {
            return realize(ModelPath.path(path), type);
        }
    
        @Override
        public <T> T realize(ModelPath path, ModelType<T> type) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskBridgingIntegrationTest.groovy

            tasks.withType(ClimbTask).all { it.steps = 14 }
            tasks.matching { it.name.contains('jump') }.all { it.height = 7 }
    
    
            //It should be possible to reference the tasks without having to do tasks.realize()
            assert overruleTask.text == "actionWoman I'm the real commander"
            assert jumpTask.height == 7
            assert climbTask.steps == 14
            """
    
            when:
            succeeds('actionMan')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 12:57:53 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/ProcessInstrumentationInStaticGroovyIntegrationTest.groovy

            configurationCacheFails(":help")
    
            then:
            failure.assertOutputContains("FOOBAR=$expectedEnvVar\nCWD=${cwd.path}")
            problems.assertFailureHasProblems(failure) {
                def line = 7 + command.readLines().size()
                withProblem("Build file 'build.gradle': line $line: external process started")
            }
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

        if (testType == TestType.INTEGRATION) {
            createTestTask(prefix + "ForceRealizeTest", defaultExecuter, sourceSet, testType) {
                systemProperties["org.gradle.integtest.force.realize.metadata"] = "true"
            }
        }
    }
    
    
    fun Project.getBucketProvider() = gradle.sharedServices.registerIfAbsent("buildBucketProvider", BuildBucketProvider::class) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 23:14:25 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top