Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 74 for fileTrees (0.36 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/InitScriptApi.kt

         * @return The file tree.
         * @see [KotlinInitScript.fileTree]
         */
        @Suppress("unused")
        fun fileTree(baseDir: Any, configuration: ConfigurableFileTree.() -> Unit): ConfigurableFileTree =
            fileOperations.fileTree(baseDir).also(configuration)
    
        /**
         * Creates a new [FileTree] which contains the contents of the given ZIP file.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/Script.java

         * @return the file tree. Never returns null.
         */
        ConfigurableFileTree fileTree(Object baseDir);
    
        /**
         * <p>Creates a new {@code ConfigurableFileTree} using the provided map of arguments.  The map will be applied as
         * properties on the new file tree.  Example:</p>
         * <pre>
         * fileTree(dir:'src', excludes:['**&#47;ignore/**','**&#47;.svn/**'])
         * </pre>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  3. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/TaskUpToDateIntegrationTest.groovy

                    }
                }
    
                tasks.register("myTask", MyTask) {
                    outputFiles.from(fileTree('build/dir1'))
                    outputFiles.from(fileTree('build/dir2'))
                }
            """
    
            when:
            run("myTask")
            then:
            executedAndNotSkipped(":myTask")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/install/DefaultJdkCacheDirectory.java

        private File unpack(File jdkArchive) {
            final FileTree fileTree = asFileTree(jdkArchive);
            String unpackFolderName = getNameWithoutExtension(jdkArchive);
            final File unpackFolder = temporaryFileProvider.createTemporaryDirectory(unpackFolderName, null, "jdks");
            unpackFolder.deleteOnExit();
            operations.copy(spec -> {
                spec.from(fileTree);
                spec.into(unpackFolder);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 23:47:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/SettingsScriptApi.kt

         * @return The file tree.
         * @see [fileTree]
         */
        @Suppress("unused")
        fun fileTree(baseDir: Any, configuration: ConfigurableFileTree.() -> Unit): ConfigurableFileTree =
            fileOperations.fileTree(baseDir).also(configuration)
    
        /**
         * Creates a new [FileTree] which contains the contents of the given ZIP file.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ProblemReportingCrossProjectModelAccess.kt

            }
    
            override fun fileTree(baseDir: Any): ConfigurableFileTree {
                onAccess("fileTree")
                return delegate.fileTree(baseDir)
            }
    
            override fun fileTree(baseDir: Any, configureClosure: Closure<*>): ConfigurableFileTree {
                onAccess("fileTree")
                return delegate.fileTree(baseDir, configureClosure)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/KotlinScript.kt

         * @return The file tree.
         */
        fun fileTree(baseDir: Any): ConfigurableFileTree
    
        /**
         * Creates a new [ConfigurableFileTree] using the given base directory.
         *
         * @param baseDir The base directory of the file tree. Evaluated as per [file].
         * @param configuration The block to use to configure the file tree.
         * @return The file tree.
         * @see [fileTree]
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/artifacts/dsl/DependencyCollectorDslIntegrationTest.groovy

        }
    
        String files(String path) {
            return "files(${renderString(path)})"
        }
    
        String fileTree(String path) {
            return "fileTree(${renderString(path)})"
        }
    
        String providerOf(String expression) {
            return "project.provider { $expression }"
        }
    
        def setup() {
            createDirs("subproject")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 16:23:38 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  9. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/RuntimePluginValidationIntegrationTest.groovy

                error(incorrectUseOfInputAnnotationConfig { type('MyTask').property('fileTree').propertyType('FileTree') }, 'validation_problems', 'incorrect_use_of_input_annotation'),
                // Pre-Validate errors halt execution before further problems are detected
            ])
        }
    
        //@IgnoreRest
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 14:30:05 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/main/java/org/gradle/api/tasks/compile/JavaCompile.java

            FileTree sources = stableSources.getAsFileTree();
            return getIncrementalCompilerFactory().makeIncremental(
                compiler,
                sources,
                createRecompilationSpec(inputs, sources)
            );
        }
    
        private JavaRecompilationSpecProvider createRecompilationSpec(InputChanges inputs, FileTree sources) {
            return new JavaRecompilationSpecProvider(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:33:35 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top