Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for forTask (0.12 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r40/ResolveArtifactsProgressCrossVersionSpec.groovy

            buildFile << buildFileContent('')
            expectDownload()
    
            when:
            def events = ProgressEvents.create()
            withConnection {
                ProjectConnection connection -> connection.newBuild().forTasks('resolve').addProgressListener(events).run()
            }
    
            then:
            events.assertIsABuild()
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 14 00:59:27 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. 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)
  10. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiRemoteIntegrationTest.groovy

            }
    
            when:
            toolingApi.withConnection { connection ->
                BuildLauncher launcher = connection.newBuild().forTasks("help")
                launcher.run()
            }
    
            then:
            toolingApi.gradleUserHomeDir.file("wrapper/dists/custom-dist").assertIsDir().listFiles().size() == 1
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 10.9K bytes
    - Viewed (0)
Back to top