Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 357 for produce2 (0.12 sec)

  1. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

            buildFile """
                task produce1(type: FileProducer) {
                    output = file("out1.txt")
                    content = "one"
                }
                task produce2(type: FileProducer) {
                    output = file("out2.txt")
                    content = "two"
                }
                def files = project.files(produce1, produce2)
                task merge(type: InputFilesTask) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/ProducerTaskCommandLineOrderIntegrationTest.groovy

            def clean = rootBuild.task('clean').dependsOn(cleanFoo).dependsOn(cleanBar)
            def generateFoo = foo.task('generateFoo').produces('build/foo', type)
            def generateBar = bar.task('generateBar').produces('build/bar', type).dependsOn(generateFoo)
            def generate = rootBuild.task('generate').dependsOn(generateBar).dependsOn(generateFoo)
    
            writeAllFiles()
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 19.4K 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. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtCompilerFacility.kt

     */
    public sealed class KaCompilationResult {
        /**
         * Successful compilation result.
         *
         * @property output Output files produced by the compiler. For the JVM target, these are class files and '.kotlin_module'.
         * @property capturedValues Context values captured by a [KtCodeFragment]. Empty for an ordinary [KtFile].
         */
        public class Success(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. src/html/template/doc.go

    produces
    
    	Hello, <script>alert('you have been pwned')</script>!
    
    but the contextual autoescaping in html/template
    
    	import "html/template"
    	...
    	t, err := template.New("foo").Parse(`{{define "T"}}Hello, {{.}}!{{end}}`)
    	err = t.ExecuteTemplate(out, "T", "<script>alert('you have been pwned')</script>")
    
    produces safe, escaped HTML output
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:04:29 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProjectLayoutIntegrationTest.groovy

                    }
                }
    
                def computeDirName = tasks.register('producer', Producer) {
                    dirName = layout.buildDirectory.file('dirName.txt')
                }
    
                tasks.register('answer', Consumer) {
                    // TODO:configuration should this `dependsOn` be necessary here?
                    dependsOn 'producer'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. doc/next/6-stdlib/2-unique.md

    canonicalizing values (like "interning" or "hash-consing").
    
    Any value of comparable type may be canonicalized with the new
    `Make[T]` function, which produces a reference to a canonical copy of
    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    their memory footprint.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:13 UTC 2024
    - 566 bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    			}
    			if tt.wantOutputSecret != "" {
    				err := cw.PrintSecretSummary()
    				if err == nil && tt.wantErr {
    					t.Errorf("PrintSecretSummary (%v) did not produce expected err", tt.name)
    				} else if err != nil && !tt.wantErr {
    					t.Errorf("PrintSecretSummary (%v) produced unexpected err: %v", tt.name, err)
    				}
    				util.CompareContent(t, gotOut.Bytes(), tt.wantOutputSecret)
    			}
    			if tt.wantOutputWorkload != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/flow-services/src/integTest/groovy/org/gradle/internal/flow/services/FlowScopeIntegrationTest.groovy

                    }
                    void apply(Project target) {
                        def producer = target.tasks.register('producer', Producer) {
                            outputFile = target.layout.buildDirectory.file('out')
                        }
                        flowScope.always(PrintAction) {
                            parameters.text = producer.flatMap { it.outputFile }.map { it.asFile.text }
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:01:34 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top