Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 144 for forTask (0.11 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/Emitter.kt

        when (this) {
            is Accessor.ForExtension -> importsRequiredBy(spec.receiver, spec.type)
            is Accessor.ForConvention -> importsRequiredBy(spec.receiver, spec.type)
            is Accessor.ForTask -> importsRequiredBy(spec.type)
            is Accessor.ForContainerElement -> importsRequiredBy(spec.receiver, spec.type)
            else -> emptyList()
        }
    }
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/execution/plan/TaskNodeFactory.java

                    node = new LocalTaskNode((TaskInternal) task, new DefaultWorkValidationContext(typeOriginInspectorFactory.forTask(task)), resolveMutationsNodeFactory);
                } else {
                    node = TaskInAnotherBuild.of((TaskInternal) task, workGraphController);
                }
                nodes.put(task, node);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorFragments.kt

        is Accessor.ForConfiguration -> fragmentsForConfiguration(accessor)
        is Accessor.ForExtension -> fragmentsForExtension(accessor)
        is Accessor.ForConvention -> fragmentsForConvention(accessor)
        is Accessor.ForTask -> fragmentsForTask(accessor)
        is Accessor.ForContainerElement -> fragmentsForContainerElement(accessor)
    }
    
    
    private
    fun fragmentsForConfiguration(accessor: Accessor.ForConfiguration): Fragments = accessor.run {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart1IntegrationTest.groovy

                error(annotationInvalidInContextConfig { annotation(ann.simpleName).type('MyTask').property('options.nestedThing').forTask() }, 'validation_problems', 'annotation_invalid_in_context'),
                error(annotationInvalidInContextConfig { annotation(ann.simpleName).type('MyTask').property('thing').forTask() }, 'validation_problems', 'annotation_invalid_in_context')
            ])
    
            and:
            verifyAll(receivedProblem(0)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy

    """
    
            when:
            render annotationInvalidInContext {
                type('SomeType').property('prop')
                annotation('Invalid')
                forTask()
            }
    
            then:
            outputEquals """
    Type 'SomeType' property 'prop' is annotated with invalid property type @Invalid.
    
    Reason: The '@Invalid' annotation cannot be used in this context.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy

                validAnnotations = "@Console, @Inject, @Input, @InputDirectory, @InputFile, @InputFiles, @Internal, @Nested, @ReplacedBy or @ServiceReference"
                this
            }
    
            AnnotationContext forTask() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestLauncherTaskExecutionCrossVersionSpec.groovy

            launchTestWithTestFilter { tl ->
                tl.forTasks(':help')
            }
    
            then:
            !taskExecuted(':help')
        }
    
        def "can execute task"() {
            when:
            launchTestWithTestFilter { tl ->
                tl.forTasks(':help')
            }
    
            then:
            taskExecuted(':help')
        }
    
        def "default task is executed when forTasks() receives empty task list"() {
            setup:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  8. platforms/ide/ide-plugins/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r54/RunEclipseSynchronizationTasksCrossVersionSpec.groovy

                    .buildFinished(new LoadEclipseModel(), buildFinishedHandler)
                    .build()
                    .setStandardOutput(out)
                    .forTasks()
                    .run()
            }
    
            then:
            taskExecuted(out, ":foo")
        }
    
        def "can use task reference in sync task list"() {
            setup:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. platforms/ide/ide-plugins/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r54/RunEclipseAutoBuildTasksCrossVersionSpec.groovy

            withConnection { connection ->
                connection.action().projectsLoaded(new TellGradleToRunAutoBuildTasks(), projectsLoadedHandler)
                    .build()
                    .setStandardOutput(out)
                    .forTasks()
                    .run()
            }
    
            then:
            taskExecuted(out, ":foo")
        }
    
        def "can use task reference in sync task list"() {
            setup:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DefaultPhasedBuildActionExecuterTest.groovy

                assert params.tasks == ['a']
                return null
            }
        }
    
        def "forTasks sets empty list correctly"() {
            when:
            executer.forTasks([])
    
            then:
            executer.operationParamsBuilder.tasks == []
    
            when:
            executer.forTasks(Collections.emptySet())
    
            then:
            executer.operationParamsBuilder.tasks == []
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top