Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for inputDir (0.33 sec)

  1. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy

                    inputDir = file("inputs")
                    inputFile = file("input.txt")
                    input = "This is the text"
                    outputDir = file("$buildDir/outputDir")
                    outputFile = file("$buildDir/outputFile")
                }
    
                abstract class MyTask extends DefaultTask {
                    @InputDirectory File inputDir
                    @Input String input
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/SnapshotTaskInputsOperationIntegrationTest.groovy

        def "properly captures all attributes"() {
            given:
            withBuildCache()
            buildFile << """
                task customTask {
                    inputs.dir('foo')
                        .withPropertyName('inputDir')
                        .withPathSensitivity(PathSensitivity.$pathSensitivity)
                        .ignoreEmptyDirectories($ignoreEmptyDirectories)
                        .normalizeLineEndings($ignoreLineEndings)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/MissingTaskDependenciesIntegrationTest.groovy

                        new File(outputDir, "source").text = "fixed"
                    }
                }
    
                task secondTask {
                    def inputDir = file("${outputDir}")
                    def outputDir = file("${sourceDir}")
                    inputs.dir(inputDir)
                    outputs.dir(outputDir)
                    doLast {
                        new File(outputDir, "source").text = "fixed"
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 08:14:44 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/custom_tasks.adoc

    ====
    [.multi-language-sample]
    =====
    [source,kotlin]
    .build.gradle.kts
    ----
    public class IncrementalReverseTask : DefaultTask() {
    
        @get:Incremental
        @get:InputDirectory
        val inputDir: DirectoryProperty = project.objects.directoryProperty()
    
        @get:OutputDirectory
        val outputDir: DirectoryProperty = project.objects.directoryProperty()
    
        @get:Input
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Feb 25 15:21:05 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

            enableProblemsApiCheck()
            expectReindentedValidationMessage()
            file("input-file.txt").touch()
    
            def inputDir = file("input-dir")
            inputDir.createDir()
            buildFile """
                task test {
                    inputs.${method}({ "$path" }) withPropertyName "input"
                    doLast {}
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionPropertyIntegrationTest.groovy

                    final SetProperty<Directory> inputDirs = project.objects.setProperty(Directory)
                    @OutputFile
                    final RegularFileProperty outputFile = project.objects.fileProperty()
    
                    @TaskAction
                    void go() {
                        def file = outputFile.asFile.get()
                        file.text = inputDirs.get()*.asFile*.listFiles().text.flatten().join(',')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.td

    // point is dynaically calculated so not a constant.
    def ConvertTFConv2DToXLAConvOpDynamicRange : Pat<
      (TF_Conv2DOp:$conv
        (TF_SubOp:$input (TF_CastOp $input_i8, $truncate0), $input_zp),
        (TF_CastOp (TF_IdentityOp $filter), $truncate1),
        $strides, $use_cudnn, $padding, $explicit_padding,
        IsDataFormatNHWC:$data_format, $dilations),
      (CreateXLAConvOpFromTFConv2DOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  8. cmd/signature-v4-utils_test.go

    	}
    }
    
    // TestSignV4TrimAll - tests the logic of TrimAll() function
    func TestSignV4TrimAll(t *testing.T) {
    	testCases := []struct {
    		// Input.
    		inputStr string
    		// Expected result.
    		result string
    	}{
    		{"本語", "本語"},
    		{" abc ", "abc"},
    		{" a b ", "a b"},
    		{"a b ", "a b"},
    		{"a  b", "a b"},
    		{"a   b", "a b"},
    		{"   a   b  c   ", "a b c"},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 05 21:26:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractLineEndingSensitivityIntegrationSpec.groovy

                            throw UncheckedException.throwAsUncheckedException(e)
                        }
                    }
    
                    static void unzipTo(File inputZip, File unzipDir) throws IOException {
                        inputZip.withInputStream { stream ->
                            ZipInputStream inputStream = new ZipInputStream(stream)
                            ZipEntry entry
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top