Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 687 for FILE (0.08 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredFileAccess.groovy

                String getJavaExpression() {
                    "new File(\"$directoryPath\").listFiles((File f) -> true)"
                }
    
                @Override
                String getGroovyExpression() {
                    "new File(\"$directoryPath\").listFiles((FileFilter) (File file) -> true)"
                }
            }
        }
    
        static UndeclaredFileAccess directoryContentWithFilenameFilter(String directoryPath) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInPluginBuildScriptIntegrationTest.groovy

                if (file.endsWith(".gradle.kts")) {
                    withProblem("Settings file '${relativePath(file)}': external process started")
                } else {
                    withProblem("Settings file '${relativePath(file)}': line 5: external process started")
                }
            }
    
            where:
            snippetsFactory             | file
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/UnrelatedMethodInstrumentationInDynamicGroovyIntegrationTest.groovy

                    execute(["some", "string"] as String[])
                    execute(["some", "string"] as String[], ["array"] as String[], file("test"))
                    execute(["some", "string"] as String[], ["array"], file("test"))
    
                    execute(["some", "string"])
                    execute(["some", "string"], ["array"] as String[], file("test"))
                    execute(["some", "string"], ["array"], file("test"))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute3StaticInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

                [fromString(), "execute(command, ['FOOBAR=foobar'], file('$pwd'))", pwd, "foobar"],
                [fromGroovyString(), "execute(command, ['FOOBAR=foobar'], file('$pwd'))", pwd, "foobar"],
                [fromStringArray(), "execute(command, ['FOOBAR=foobar'], file('$pwd'))", pwd, "foobar"],
                [fromStringList(), "execute(command, ['FOOBAR=foobar'], file('$pwd'))", pwd, "foobar"],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/UndeclaredBuildInputListener.kt

        fun fileSystemEntryObserved(file: File, consumer: String?)
    
        fun directoryChildrenObserved(directory: File, consumer: String?)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationIntegrationTest.groovy

                    public static Process execute(String[] command) { return null; }
                    public static Process execute(String[] command, String[] envp, File file) { return null; }
                    public static Process execute(String[] command, List<?> envp, File file) { return null; }
                    public static Process execute(List<?> command) { return null; }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileCollectionIntegrationTest.groovy

                    outputFile.set(layout.buildDirectory.file("consumer-output.txt"))
                }
            '''
    
            and:
            file('producer-input.txt').text = '42'
    
            when:
            configurationCacheRun 'consumer'
    
            then:
            configurationCache.assertStateStored(true)
    
            and:
            file('build/consumer-output.txt').text == '42'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheInitScriptsIntegrationTest.groovy

            given:
            TestFile buildLogicInput = file('input.txt').tap {
                text = 'foo!'
            }
            TestFile initScript = file('initscript.gradle').tap {
                text = """
                    // TODO: replace by public API
                    def providers = gradle.services.get(ProviderFactory)
                    def fileFactory = gradle.services.get(org.gradle.api.internal.file.FileFactory)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheKeyTest.kt

                cacheKeyStringFromStartParameter {
                    includeBuild(file("included"))
                },
                equalTo(
                    cacheKeyStringFromStartParameter {
                        includeBuild(file("included"))
                    }
                )
            )
            assertThat(
                cacheKeyStringFromStartParameter {
                    includeBuild(file("included"))
                },
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCompositeBuildProblemReportingIntegrationTest.groovy

            problems.assertFailureHasProblems(failure) {
                withProblem("Build file 'inc/sub/build.gradle': line 2: registration of listener on 'Gradle.buildFinished' is unsupported".replace('/', File.separator))
                withProblem("Build file 'inc/sub/build.gradle': line 5: invocation of 'Task.project' at execution time is unsupported.".replace('/', File.separator))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top