Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,821 for output0 (0.18 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedPathSensitivityIntegrationTest.groovy

                task producer {
                    outputs.cacheIf { true }
                    outputs.file("build/outputs/producer.txt")
                    doLast {
                        file("build/outputs/producer.txt").text = "alma"
                    }
                }
    
                task consumer {
                    dependsOn producer
                    outputs.cacheIf { true }
                    inputs.file("build/outputs/producer.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/GroovyIncrementalCompilationIntegrationTest.groovy

    class A2{}
    """
            file('src/main/groovy/org/gradle/B.groovy') << 'package org.gradle; class B{}'
            outputs.snapshot { run "compileGroovy" }
    
            when:
            a.text = 'package org.gradle; class A1 {}'
            run "compileGroovy"
    
            then:
            outputs.recompiledClasses('A1')
            outputs.deletedClasses('A2')
        }
    
        def 'only recompile removed packages'() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIncrementalCompileIntegrationTest.groovy

    """
            and:
            outputs.snapshot { run "mainExecutable" }
    
            when:
            otherHeaderFile << """
                // Some extra content
    """
            and:
            run "mainExecutable"
    
            then:
            executedAndNotSkipped compileTask
    
            and:
            outputs.recompiledFile sourceFile
            and:
            !output.contains("should not be used")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/IsolatingIncrementalAnnotationProcessingIntegrationTest.groovy

            run "compileJava"
            a.text = "@Helper class A { public void foo() {} }"
            outputs.snapshot { run "compileJava" }
    
            when:
            b.text = " class B { }"
            run "compileJava"
    
            then:
            outputs.deletedFiles("BHelper", "BHelperResource")
            outputs.recompiledFiles("B")
        }
    
        def "generated files are recompiled when annotated file is affected by a change"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/IncrementalNativeCompilerTest.groovy

        def delegateCompiler = Mock(Compiler)
        def outputs = Mock(TaskOutputsInternal)
        def compileStateCache = Mock(ObjectHolder)
        def incrementalCompilation = Mock(IncrementalCompilation)
        def deleter = TestFiles.deleter()
        def compiler = new IncrementalNativeCompiler(outputs, delegateCompiler, deleter, compileStateCache, incrementalCompilation)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/services/LoggingServiceRegistryTest.groovy

            then:
            outputs.stdOut == ''
            outputs.stdErr == ''
    
            when:
            loggingManager.levelInternal = LogLevel.WARN
            loggingManager.start()
            logger.warn("warning")
            logger.error("error")
    
            then:
            outputs.stdOut == TextUtil.toPlatformLineSeparators('warning\n')
            outputs.stdErr == TextUtil.toPlatformLineSeparators('error\n')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/files/copy/kotlin/build.gradle.kts

        from("src/main/webapp")
        // Copy a single file
        from("src/staging/index.html")
        // Copy the output of a task
        from(copyTask)
        // Copy the output of a task using Task outputs explicitly.
        from(tasks["copyTaskWithPatterns"].outputs)
        // Copy the contents of a Zip file
        from(zipTree("src/main/assets.zip"))
        // Determine the destination directory later
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  8. platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/artifact/IvyArtifactNotationParserFactoryTest.groovy

            1 * task.getOutputs() >> outputs
            1 * outputs.getFiles() >> fileCollection
            1 * fileCollection.getSingleFile() >> Stub(File)
            0 * _
        }
    
        def "fails resolving lazy IvyArtifact for Provider<Task> notation when task has a multiple output files"() {
            def task = Mock(Task)
            def taskProvider = Mock(TestTaskProvider)
            def outputs = Mock(TaskOutputsInternal)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseIncrementalCompilationAfterFailureIntegrationTest.groovy

            source("class A {}", "class B {}")
            outputs.snapshot { run language.compileTaskName }
            source("class A { garbage }")
            runAndFail language.compileTaskName
            outputs.noneRecompiled()
    
            when:
            source("class A { }")
            run language.compileTaskName
    
            then:
            outputs.recompiledClasses("A")
            outputs.hasFiles(file("A.class"), file("B.class"))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:30 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/dependencyManagement/artifactTransforms-incremental/groovy/build.gradle

        @PathSensitive(PathSensitivity.RELATIVE)
        @InputArtifact
        abstract Provider<FileSystemLocation> getInput()
    
        @Override
        void transform(TransformOutputs outputs) {
            def outputDir = outputs.dir("${input.get().asFile.name}.loc")
            println("Running transform on ${input.get().asFile.name}, incremental: ${inputChanges.incremental}")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top