- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 95 for toPaths (0.17 sec)
-
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessor.java
testNg.addListener(new SelectedTestsFilter(filter)); } if (!suiteFiles.isEmpty()) { testNg.setTestSuites(GFileUtils.toPaths(suiteFiles)); } else { testNg.setTestClasses(testClasses.toArray(new Class<?>[0])); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 21:25:59 UTC 2024 - 10.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GFileUtils.java
public static Collection<File> listFiles(File directory, String[] extensions, boolean recursive) { return FileUtils.listFiles(directory, extensions, recursive); } public static List<String> toPaths(Collection<File> files) { List<String> paths = new ArrayList<String>(); for (File file : files) { paths.add(file.getAbsolutePath()); } return paths; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 10:50:51 UTC 2024 - 10.8K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/util/GFileUtils.java
logDeprecation(); return FileUtils.listFiles(directory, extensions, recursive); } public static List<String> toPaths(Collection<File> files) { logDeprecation(); List<String> paths = new ArrayList<String>(); for (File file : files) { paths.add(file.getAbsolutePath()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 10:50:51 UTC 2024 - 13.9K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/CoreJavadocOptions.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 28.2K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/model/internal/IdeaDependenciesProvider.java
library.setModuleVersion(DefaultModuleVersionIdentifier.newId(moduleId.getModuleIdentifier(), moduleId.getVersion())); Set<Path> sourcePaths = new LinkedHashSet<>(); for (ResolvedArtifactResult sourceArtifact : sources) { sourcePaths.add(toPath(ideaModule, sourceArtifact.getFile())); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 12.1K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
reports.filter { it.isDirectory }.forEach { val destFile = rootBuildDir.resolve("report$projectPathName-${it.name}.zip") zip(destFile, it) } // Zip all files in project build directory into a single zip file to avoid publishing too many tiny files reports.filter { it.isFile && it.toPath().startsWith(projectBuildDirPath) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 28 16:19:47 UTC 2023 - 12.5K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/DefaultDeleterTest.groovy
def target = tmpDir.file("target").tap { Files.createSymbolicLink(it.toPath(), linked.toPath()) } when: deleter.ensureEmptyDirectory(target, true) then: target.assertIsEmptyDir() linked.assertIsEmptyDir() Files.readSymbolicLink(target.toPath()) == linked.toPath() content.assertDoesNotExist() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 12:40:48 UTC 2024 - 14.2K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java
if (Files.isSymbolicLink(this.toPath())) { try { Files.delete(toPath()); } catch (IOException e) { throw new UncheckedIOException(e); } } try { getParentFile().mkdirs(); Files.createSymbolicLink(this.toPath(), target.toPath()); } catch (IOException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 18:31:52 UTC 2024 - 30.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/DependencyManagementBuildTreeScopeServices.java
"resource-at-url", timeProvider, cacheAccessCoordinator, externalResourceFileStore.getFileAccessTracker(), artifactCacheMetadata.getCacheDir().toPath() ); } @Provides FileStoreAndIndexProvider createFileStoreAndIndexProvider( BuildCommencedTimeProvider timeProvider, ArtifactCachesProvider artifactCaches,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 18.6K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/incremental/transaction/CompileTransactionTest.groovy
private List<String> listAllFiles(File file) { return Files.find(file.toPath(), 99, { path, attributes -> attributes.isRegularFile() }) .collect { file.toPath().relativize(it).toString().replace("\\", "/") } .toSorted() } private boolean hasOnlyDirectories(File file) { try (Stream<Path> stream = Files.walk(file.toPath())) { return stream.allMatch { Files.isDirectory(it) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 18K bytes - Viewed (0)