Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for fooTask (0.1 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskExecutionIntegrationTest.groovy

            when:
            buildScript """
                apply from: "fooTask.gradle"
                task check {
                  def fooTasks = getTasksByName("foo", false).size()
                  doFirst {
                    assert fooTasks == 1
                  }
                }
            """
    
            file("fooTask.gradle") << """
                model {
                    tasks { create("foo") }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. 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)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/ConfigurationOnDemandIntegrationTest.groovy

            result.assertTasksExecutedInOrder(":api:foo", ":impl:bar")
        }
    
        def "supports buildSrc"() {
            file("buildSrc/src/main/java/FooTask.java") << """
                import org.gradle.api.DefaultTask;
                import org.gradle.api.tasks.TaskAction;
    
                public class FooTask extends DefaultTask {
                    @TaskAction public void logStuff(){
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 12:57:53 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/api/plugins/JavaPluginIntegrationTest.groovy

        def "executing task which depends on source set classes does not build resources"() {
            buildFile("""
                plugins {
                    id 'java'
                }
    
                def fooTask = tasks.register("foo") {
                    outputs.file(project.layout.buildDirectory.dir("fooOut"))
                }
    
                tasks.register("bar") {
                    inputs.files(java.sourceSets.main.output.classesDirs)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy

            given:
            buildFile << """
                class Bean { Project p1 }
    
                class FooTask extends DefaultTask {
                    private final bean = new Bean()
                    FooTask() { bean.p1 = project }
                    @TaskAction void run() {}
                }
    
                task foo(type: FooTask)
            """
    
            when:
            run ENABLE_CLI_OPT, WARN_PROBLEMS_CLI_OPT, "foo"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/lite/debug/debug_options.proto

      // `ir_dump_pass_regex` and `ir_dump_func_regex` values.
      optional string ir_dump_dir = 1 [default = ""];
    
      // Regular expression that matches the names of passes in pascal case (e.g.,
      // FooPass) before/after which MLIR will be dumped. Effective only if
      // ir_dump_dir is not empty.
      optional string ir_dump_pass_regex = 2 [default = ".*"];
    
      // Regular expression that matches the names of functions to be dumped. MLIR
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 02:44:52 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top