Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of about 10,000 for FILE (0.23 sec)

  1. platforms/documentation/docs/src/snippets/tutorial/antLoadfileWithMethod/kotlin/build.gradle.kts

                }
                println("I'm fond of ${file.name}")
            }
        }
    }
    
    fun fileList(dir: String): List<File> =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 723 bytes
    - Viewed (0)
  2. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/idea/model/PathFactoryTest.groovy

            factory.path(childFile) != factory.path("file://${relpath(childFile)}")
        }
    
        private String relpath(File file) {
            return file.absolutePath.replace(File.separator, '/')
        }
    
        def findFileSystemRoots() {
            File.listRoots().inject([]) {List result, File root ->
                try {
                    new File(root, 'file').canonicalFile
                    result << root
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInBuildScriptIntegrationTest.groovy

            runtimeExec().kotlin        | "buildSrc/settings.gradle.kts" | "Settings file 'buildSrc/settings.gradle.kts'"
        }
    
        def "using #snippetsFactory.summary in settings file #file is a problem"() {
            given:
            def snippets = snippetsFactory.newSnippets(execOperationsFixture)
            testDirectory.file(file) << """
                ${snippets.imports}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/file/FileTreeElement.java

        void copyTo(OutputStream output);
    
        /**
         * Copies this file to the given target file. Does not copy the file if the target is already a copy of this file.
         *
         * @param target the target file.
         * @return true if this file was copied, false if it was up-to-date
         */
        boolean copyTo(File target);
    
        /**
         * Returns the base name of this file.
         *
         * @return The name. Never returns null.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 13:43:13 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileTreeTest.groovy

            File included1 = new File(testDir, 'subDir/included1')
            File included2 = new File(testDir, 'subDir2/included2')
            File excluded1 = new File(testDir, 'subDir/notincluded')
            File ignored1 = new File(testDir, 'ignored')
            [included1, included2, excluded1, ignored1].each { File file ->
                file.parentFile.mkdirs()
                file.text = 'some text'
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/internal/project/taskfactory/TaskPropertyNamingIntegrationTest.groovy

            file("input.txt").createNewFile()
            file("input-nested.txt").createNewFile()
            file("input1.txt").createNewFile()
            file("input2.txt").createNewFile()
            file("inputs").createDir()
            file("inputs/inputA.txt").createNewFile()
            file("inputs/inputB.txt").createNewFile()
            file("inputs1").createDir()
            file("inputs2").createDir()
    
            buildFile """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 21 19:38:50 UTC 2022
    - 16.8K bytes
    - Viewed (0)
  7. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/internal/FileReferenceFactoryTest.groovy

        }
    
        def "creates a reference to a file which is not under any root directory"() {
            TestFile file = tmpDir.file("file.txt")
    
            expect:
            def reference = factory.fromFile(file)
            reference.file == file
            reference.path == relpath(file)
            !reference.relativeToPathVariable
        }
    
        def "creates a reference for a file under a root directory"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/GeneratedSingletonFileTreeTest.java

            MinimalFileTree tree = tree("file.txt", action);
    
            assertVisits(tree, toList("file.txt"), Collections.<String>emptyList());
    
            TestFile file = rootDir.file("file.txt");
    
            file.assertContents(equalTo("content"));
            file.makeOlder();
            TestFile.Snapshot snapshot = file.snapshot();
    
            assertVisits(tree, toList("file.txt"), Collections.<String>emptyList());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/initialization/BuildLayoutParameters.java

            );
        }
    
        public BuildLayoutParameters(
            @Nullable File gradleInstallationHomeDir,
            File gradleUserHomeDir,
            @Nullable File projectDir,
            File currentDir,
            @Nullable File settingsFile,
            @Nullable File buildFile
        ) {
            this.gradleUserHomeDir = gradleUserHomeDir;
            this.gradleInstallationHomeDir = gradleInstallationHomeDir;
            this.projectDir = projectDir;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 26 20:57:11 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDependencyInferenceIntegrationTest.groovy

                    content = "a"
                }
                tasks.register("c", InputFileTask) {
                    inFile = taskA.output.orElse(file("b.txt"))
                    outFile = file("out.txt")
                }
            """
    
            when:
            run("c")
    
            then:
            result.assertTasksExecuted(":a", ":c")
            file("out.txt").text == "a"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 14:20:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top