Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for asFile (0.23 sec)

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

                    implementation project(':b')
                }
                task resolve(type: InputTask) {
                    inValue = configurations.implementation.elements.map { files -> files.collect { it.asFile.text.toInteger() } }
                    outFile = file('out.txt')
                }
            """
    
            given:
            configurationCacheRun(":resolve")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    val output: Provider<RegularFile> = layout.buildDirectory.file("myOutput.txt")
    
    // If you really need the java.io.File for a non lazy API
    output.get().asFile
    
    // Or a path for a lazy String based API
    output.map { it.asFile.path }
    ----
    ======
    [.multi-language-sample]
    ======
    .build.gradle
    [source,groovy]
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
  3. configure.py

                                                          ask_python_bin_path,
                                                          default_python_bin_path)
        # Check if the path is valid
        if os.path.isfile(python_bin_path) and os.access(python_bin_path, os.X_OK):
          break
        elif not os.path.exists(python_bin_path):
          print('Invalid python path: {} cannot be found.'.format(python_bin_path))
        else:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java

            if (dir.isDirectory()) {
                String[] settingsFileNames = ScriptFileUtil.getValidSettingsFileNames();
                for (String settingsFileName : settingsFileNames) {
                    if (dir.file(settingsFileName).isFile()) {
                        return true;
                    }
                }
            }
            return false;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                                d.getManagementKey(),
                                "must specify an absolute path but is " + systemPath,
                                d);
                    } else if (!sysFile.isFile()) {
                        String msg = "refers to a non-existing file " + sysFile.getAbsolutePath();
                        systemPath = systemPath.replace('/', File.separatorChar).replace('\\', File.separatorChar);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 11:04:53 UTC 2024
    - 73.9K bytes
    - Viewed (0)
Back to top