Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 8,592 for FILE (0.09 sec)

  1. 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)
  2. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/DefaultIgnoredConfigurationInputsTest.kt

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/nio/ModificationTimeFileAccessTimeJournal.java

        @Override
        public void setLastAccessTime(File file, long millis) {
            try {
                Files.setLastModifiedTime(file.toPath(), FileTime.fromMillis(millis));
            } catch (IOException e) {
                LOGGER.debug("Ignoring failure to set last access time of " + file, e);
            }
        }
    
        @Override
        public long getLastAccessTime(File file) {
            return file.lastModified();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/test/groovy/org/gradle/internal/scan/config/fixtures/ApplyDevelocityPluginFixtureTest.groovy

        def "no special blocks"() {
            given:
            File file = File.createTempFile("test_script", ".tmp")
            file.write("includeBuild '../lib'")
            file.deleteOnExit()
    
            when:
            ApplyDevelocityPluginFixture.applyDevelocityPlugin(file)
    
    
            then:
            file.text =="""plugins {
                |    id("com.gradle.develocity") version("${VERSION}")
                |}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/CppApplicationInitIntegrationTest.groovy

            then:
            subprojectDir.file("src/main/cpp").assertHasDescendants(SAMPLE_APP_CLASS)
            subprojectDir.file("src/main/headers").assertHasDescendants(SAMPLE_APP_HEADER)
            subprojectDir.file("src/test/cpp").assertHasDescendants(SAMPLE_APP_TEST_CLASS)
    
            and:
            subprojectDir.file("src/main/headers/${SAMPLE_APP_HEADER}").text.contains("namespace app {")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/GradleBuildTaskIntegrationTest.groovy

            given:
            file('buildSrc/src/main/java/Thing.java') << "class Thing { }"
            file('buildSrc/build.gradle') << """
                task otherBuild(type:GradleBuild) {
                    dir = '../other'
                    tasks = ['build']
                }
                classes.dependsOn(otherBuild)
            """
            file('other/settings.gradle') << ""
            file('other/build.gradle') << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/services/CacheInstrumentationDataBuildService.java

                "Original file for artifact with name '%s' and hash '%s' does not exist! " +
                    "That indicates that artifact changed during resolution from another process. That is not supported!", artifactName, hash);
        }
    
        @Nullable
        public String getArtifactHash(long contextId, File file) {
            return getResolutionData(contextId).getArtifactHash(file);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/PathAssembler.java

            private final File distZip;
            private final File distDir;
    
            public LocalDistribution(File distDir, File distZip) {
                this.distDir = distDir;
                this.distZip = distZip;
            }
    
            /**
             * Returns the location to install the distribution into.
             */
            public File getDistributionDir() {
                return distDir;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/nio/ModificationTimeFileAccessTimeJournalTest.groovy

        def "updates modification time"() {
            given:
            def file = tmpDir.createFile("file")
    
            when:
            journal.setLastAccessTime(file, FIXED_TIMESTAMP)
    
            then:
            file.lastModified() == FIXED_TIMESTAMP
        }
    
        def "reads modification time"() {
            given:
            def file = tmpDir.createFile("file")
            file.lastModified = FIXED_TIMESTAMP
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

            })
    
            where:
            method | fileType
            "file" | "File"
            "dir"  | "Directory"
        }
    
        def "wrong input file type registered via TaskInputs.#method is not allowed"() {
            enableProblemsApiCheck()
            expectReindentedValidationMessage()
            file("input-file.txt").touch()
    
            def inputDir = file("input-dir")
            inputDir.createDir()
            buildFile """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top