Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for forTask (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r48/PhasedBuildActionCrossVersionSpec.groovy

            result.assertTasksExecuted(":help")
    
            where:
            description                 | action
            "empty array of task names" | { BuildActionExecuter b -> b.forTasks() }
            "empty list of task names"  | { BuildActionExecuter b -> b.forTasks([]) }
        }
    
        def "#description means run default tasks when they are defined"() {
            file('build.gradle') << """
                defaultTasks = ["thing"]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy

            ProjectConnection connection2 = connector.connect()
    
            def build = connection1.newBuild()
            build.forTasks('hang')
            build.run(resultHandler)
    
            def build2 = connection2.newBuild()
            build2.forTasks('hang')
            build2.run(resultHandler)
    
            sync.waitForAllPendingCalls(resultHandler)
            then:
            assertNumberOfRunningDaemons(2)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TaskProgressCrossVersionSpec.groovy

            def events = ProgressEvents.create()
            withConnection {
                ProjectConnection connection ->
                    connection.model(BuildInvocations).forTasks('assemble').addProgressListener(events, EnumSet.of(OperationType.TASK)).get()
            }
    
            then: "task progress events must be forwarded to the attached listeners"
            !events.tasks.empty
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/BuildPhaseOperationEventCrossVersionTest.groovy

            setupProject()
    
            when:
            def events = ProgressEvents.create()
            withConnection {
                it.newBuild().forTasks(taskName)
                    .addProgressListener(events, OperationType.BUILD_PHASE)
                    .run()
            }
    
            then:
            def progressEvents = events.getAll()
            progressEvents.size() == 6
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 10:41:50 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskInputFilePropertiesIntegrationTest.groovy

        def "allows @InputFiles of task with no actions to be null"() {
            buildFile << """
                class FooTask extends DefaultTask {
                   @InputFiles
                   FileCollection bar
                }
    
                task foo(type: FooTask)
            """
    
            when:
            run "foo"
    
            then:
            executed ":foo"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/ClosedProjectSubstitutionCrossVersionSpec.groovy

                    .buildFinished(new LoadEclipseModel(workspace), buildFinishedHandler)
                    .build()
                    .setStandardOutput(out)
                    .forTasks()
                    .run()
            }
    
            then:
            def child2 = buildFinishedHandler.result.children.find { it.name == "child2" }
            child2.projectDependencies.isEmpty()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressCrossVersionSpec.groovy

            def events = ProgressEvents.create()
            withConnection {
                ProjectConnection connection ->
                    connection.model(BuildInvocations.class).forTasks('test').addProgressListener(events, EnumSet.of(OperationType.TEST)).get()
            }
    
            then: "test progress events must be forwarded to the attached listeners"
            !events.tests.empty
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top