Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,202 for produce2 (0.13 sec)

  1. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformTestFixture.groovy

    import ${org.gradle.api.artifacts.transform.TransformParameters.name}
    
    allprojects {
        task producer(type: ${builder.producerTaskClassName}) {
            ${builder.producerConfig}
        }
        afterEvaluate {
            ${builder.producerConfigOverrides}
        }
        artifacts {
            implementation producer.output
        }
    
        task resolve(type: ShowFileCollection) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 20 15:06:39 UTC 2023
    - 21.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy

            schema.attribute(attr2)
            producer.attribute(attr2)
            producer.attribute(attr3)
    
            expect:
            schema.withProducer(producer).selectionSchema.hasAttribute(attr1)
            schema.withProducer(producer).selectionSchema.hasAttribute(attr2)
            schema.withProducer(producer).selectionSchema.hasAttribute(attr3)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/execution/plan/MissingTaskDependencyDetector.java

                            + "This can lead to incorrect results being produced, depending on what order the tasks are executed",
                        consumer,
                        producer
                    ))
                    .solution("Declare task '" + producer + "' as an input of '" + consumer + "'")
                    .solution("Declare an explicit dependency on '" + producer + "' from '" + consumer + "' using Task#dependsOn")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/MissingTaskDependenciesIntegrationTest.groovy

            """
    
            when:
            run(":producer", ":consumer")
            then:
            executed(":producer", ":consumer")
    
            when:
            run(":consumer", ":producer")
            then:
            executed(":producer", ":consumer")
    
            where:
            disabledTask << ["consumer", "producer"]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 08:14:44 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/IndexedCache.java

         *
         * Production of the value always happens synchronously by the calling thread. However, the implementation may update the backing store with new value synchronously or asynchronously.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformInvocationTest.groovy

                INVOCATION_COUNT.incrementAndGet()
                outputs.file(new File(inputArtifact.get().asFile, SELECTED_PATH))
                outputs.file("produced-file-1.txt").text = "produced1"
                outputs.dir(inputArtifact)
                outputs.file("produced-file-2.txt").text = "produced2"
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/providers/implicitTaskInputDependency/kotlin/build.gradle.kts

            logger.quiet(message.get())
        }
    }
    
    val producer = tasks.register<Producer>("producer") {
        // Set values for the producer lazily
        // Don't need to update the consumer.inputFile property. This is automatically updated as producer.outputFile changes
        outputFile = layout.buildDirectory.file("file.txt")
    }
    tasks.register<Consumer>("consumer") {
        // Connect the producer task output to the consumer task input
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/providers/implicitTaskInputFileDependency/kotlin/build.gradle.kts

        }
    }
    
    val producer = tasks.register<Producer>("producer")
    val consumer = tasks.register<Consumer>("consumer")
    
    consumer {
        // Connect the producer task output to the consumer task input
        // Don't need to add a task dependency to the consumer task. This is automatically added
        inputFile = producer.flatMap { it.outputFile }
    }
    
    producer {
        // Set values for the producer lazily
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/ConsumerProvidedVariantFinder.java

        }
    
        /**
         * Executes the transform chain detection algorithm given a set of producer variants and the requested
         * attributes. Only the transform chains of the shortest depth are returned, and all results are
         * guaranteed to have the same depth.
         *
         * @param sources The set of producer variants.
         * @param requested The requested attributes.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/dep-man/06-publishing/publishing_gradle_module_metadata.adoc

    ====
    include::sample[dir="snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced-published/kotlin/producer",files="build.gradle.kts[tags=gradle_metadata_source]"]
    include::sample[dir="snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced-published/groovy/producer",files="build.gradle[tags=gradle_metadata_source]"]
    ====
    
    [[sub:gmm-validation]]
    == Gradle Module Metadata validation
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 18:45:05 UTC 2023
    - 9.6K bytes
    - Viewed (0)
Back to top