Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 6,249 for FILE (0.31 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classpath/TransformedClassPathTest.groovy

            ClassPath nonTransformed = DefaultClassPath.of(file("2.jar"))
    
            when:
            def combined = transformed + nonTransformed
    
            then:
            combined.asFiles == [file("1.jar"), file("2.jar")]
            combined.asTransformedFiles == [file("t1.jar"), file("2.jar")]
    
            combined.findTransformedEntryFor(file("1.jar")) == file("t1.jar")
            combined.findTransformedEntryFor(file("2.jar")) == null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 11:14:30 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilderTest.groovy

            then:
            builder.build() == defaultOptions + ['--release', '7']
        }
    
        def "generates -d option"() {
            def file = new File("/project/build")
            spec.destinationDir = file
    
            expect:
            builder.build() == ["-d", file.path] + defaultOptions
        }
    
        def "generates -verbose option"() {
            when:
            spec.compileOptions.verbose = true
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:36 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. platforms/software/signing/src/main/java/org/gradle/plugins/signing/Signature.java

        @Nullable
        private String fileName() {
            final File file = getFile();
            return file != null ? file.getName() : null;
        }
    
        public void setExtension(String extension) {
            this.extension = extension;
        }
    
        /**
         * The extension of the signature artifact.
         *
         * <p>Defaults to the specified file extension of the {@link #getSignatureType() signature type}.</p>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ContinuousBuildChangeReportingIntegrationTest.groovy

                  outputs.files "build/outputs"
                  doLast {}
                }
            """
            inputDir = file("inputDir").createDir()
        }
    
        def "should report the absolute file path of the created file when a single file is created in the input directory"() {
            given:
            def inputFile = inputDir.file("input.txt")
            when:
            succeeds("theTask")
            inputFile.createFile()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  5. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy

                outputDir.create {
                    file("first-file").text = "leftover file"
                    file("second-file").text = "leftover file"
                }
                outputFile.text = "leftover file"
            }
    
            void createInputs() {
                file("input.txt").text = "input file"
                file("inputs").create {
                    file("inputFile1.txt").text = "input 1 in dir"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/Script.java

        /**
         * <p>Resolves a file path relative to the directory containing this script. This works as described for {@link
         * Project#file(Object)}</p>
         *
         * @param path The object to resolve as a File.
         * @return The resolved file. Never returns null.
         */
        File file(Object path);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  7. platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarEncodingIntegrationTest.groovy

                task jar(type: Jar) {
                    from file('test')
                    destinationDirectory = file('dest')
                    archiveFileName = 'test.jar'
                }
            """.stripIndent()
    
            createDir('test') {
                // Use an UTF-8 caution symbol in file name
                // that will create a mojibake if encoded using another charset
                file 'mojibakeā˜”.txt'
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/IncrementalCompileFilesFactory.java

            private final BuildableCompilationState current = new BuildableCompilationState();
            private final List<File> toRecompile = new ArrayList<File>();
            private final Set<File> existingHeaders = new HashSet<File>();
            private final Map<File, FileDetails> visitedFiles = new HashMap<File, FileDetails>();
            private boolean hasUnresolvedHeaders;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/swiftpm/SwiftPackageManagerIncrementalExportIntegrationTest.groovy

                    apply plugin: 'swift-application'
                }
            """
    
            file("app/src/main/swift/main.swift") << "// main"
            file("lib/src/main/swift/lib.swift") << "// lib"
    
            run("generateSwiftPmManifest")
    
            assert file("Package.swift").text.contains('"src/main/swift/main.swift"')
            assert file("Package.swift").text.contains('"src/main/swift/lib.swift"')
        }
    
        private cppBuild() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  10. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/S3ClientIntegrationTest.groovy

            def fileContents = 'This is only a test'
            File file = temporaryFolder.createFile(FILE_NAME)
            file << fileContents
    
            expect:
            def stream = new FileInputStream(file)
            def uri = new URI("s3://${bucketName}/maven/release/${new Date().getTime()}-mavenTest.txt")
            s3Client.put(stream, file.length(), uri)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 9.8K bytes
    - Viewed (0)
Back to top