- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 330 for toPaths (0.26 sec)
-
platforms/documentation/docs/src/samples/writing-tasks/tasks-with-dependency-resolution-result-inputs/common/dependency-reports/src/main/java/com/example/GraphResolvedComponents.java
Set<ResolvedComponentResult> seen = new HashSet<>(); reportComponent(getRootComponent().get(), writer, seen, ""); } try (Stream<String> stream = Files.lines(outputFile.toPath())) { stream.forEach(System.out::println); } } private void reportComponent( ResolvedComponentResult component, PrintWriter writer,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonLogFile.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 09:22:54 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/sources/FileBytesValueSource.java
public abstract class FileBytesValueSource extends FileContentValueSource<byte[]> { @Override protected byte[] obtainFrom(File file) { try { return Files.readAllBytes(file.toPath()); } catch (IOException e) { throw new UncheckedIOException(e); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperIntegrationTest.groovy
boolean deletedSomething = false gradleUserHome.eachFileRecurse(FileType.FILES) { file -> if (file.name.startsWith("gradle-launcher")) { Files.delete(file.toPath()) println("Deleting " + file) deletedSomething = true } } and: result = executer.withTasks("hello").run() then: deletedSomething
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:54:32 UTC 2024 - 2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/artifactTransforms-unzip/groovy/build.gradle
} if (entry.isDirectory) { output.mkdirs() } else { output.parentFile.mkdirs() zip.getInputStream(entry).withCloseable { Files.copy(it, output.toPath()) } } // tag::artifact-transform-unzip[] } } // end::artifact-transform-unzip[] def usage = Attribute.of('usage', String) // tag::artifact-transform-registration[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/transaction/CompileTransaction.java
} } private static void moveFile(File sourceFile, File destinationFile) { try { destinationFile.getParentFile().mkdirs(); Files.move(sourceFile.toPath(), destinationFile.toPath(), REPLACE_EXISTING); } catch (IOException e) { throw new UncheckedIOException(e); } } private static class StashedFile { private final File sourceFile;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 13.3K bytes - Viewed (0) -
platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/ZincScalaCompilerFactory.java
List<Path> xsbtiJarsAsPath = Arrays.stream(scalaInstance.allJars()).map(File::toPath).collect(Collectors.toList()); scala.collection.Iterable<Path> xsbtiJars = JavaConverters.collectionAsScalaIterable(xsbtiJarsAsPath); AnalyzingCompiler$.MODULE$.compileSources(sourceJars, bridgeJar.toPath(), xsbtiJars, "compiler-bridge", rawCompiler, logger);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 15:51:31 UTC 2024 - 11.2K bytes - Viewed (0) -
apache-maven/src/test/java/org/apache/maven/settings/GlobalSettingsTest.java
assertTrue(globalSettingsFile.isFile(), globalSettingsFile.getAbsolutePath()); try (InputStream is = Files.newInputStream(globalSettingsFile.toPath())) { new SettingsStaxReader().read(is, true, new InputSource(globalSettingsFile.getAbsolutePath())); } }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/cached/TwoStageByUrlCachedExternalResourceIndex.java
this.writableCache = writableCache; } @Override public void store(String key, File artifactFile, @Nullable ExternalResourceMetaData metaData) { if (artifactFile.toPath().startsWith(readOnlyCachePath)) { // skip writing because the file comes from the RO cache return; } writableCache.store(key, artifactFile, metaData); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/integTest/groovy/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetectorIntegrationTest.groovy
def javaHome = InstallationLocation.userDefined(jvm.getJavaHome(), "test") def metadata = detector.getMetadata(javaHome) then: metadata.javaHome == jvm.javaHome.toPath() metadata.languageVersion == jvm.javaVersion }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 18:25:34 UTC 2024 - 2K bytes - Viewed (0)