- Sort Score
- Result 10 results
- Languages All
Results 21 - 24 of 24 for createTempDirectory (0.21 sec)
-
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/PropertiesFileAwareClasspathResourceHasherTest.groovy
return fileSnapshot(path, bos.toByteArray()) } RegularFileSnapshotContext fileSnapshot(String path, byte[] bytes) { def dir = Files.createTempDirectory(tmpdir.toPath(), null).toFile() def file = new File(dir, path) file.parentFile.mkdirs() file << bytes return new RegularFileSnapshotContext() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 15.6K bytes - Viewed (0) -
platforms/jvm/java-compiler-plugin/src/test/groovy/com/gradle/internal/compiler/java/listeners/ConstantsCollectorTest.groovy
(String constantOrigin, String dependent) -> privateDependentToConstants.computeIfAbsent(dependent, { new LinkedHashSet<>() }).add(constantOrigin) ) compiler = new TestCompiler( Files.createTempDirectory(temporaryFolder.toPath(), null).toFile(), { f -> Optional.empty() }, {}, {}, consumer ) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 13:06:26 UTC 2023 - 22.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/GeneratePrecompiledScriptPluginAccessors.kt
} } }.toTypedArray() return configurations.detachedConfiguration(*dependencies) } private fun uniqueTempDirectory() = Files.createTempDirectory(temporaryDir.toPath(), "accessors").toFile() private fun pluginRequestsOf(plugin: PrecompiledScriptPlugin, pluginIds: List<String>): PluginRequests = pluginRequestCollectorFor(plugin).run {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 08:10:49 UTC 2024 - 24.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
return new File(new File(path).toURI()); } private static URL makeJarUrlWithName(String name) throws IOException { /* * TODO: cpovirk - Use java.nio.file.Files.createTempDirectory instead of * c.g.c.io.Files.createTempDir? */ File fullPath = new File(Files.createTempDir(), name); File jarFile = pickAnyJarFile(); Files.copy(jarFile, fullPath);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Apr 26 14:02:27 UTC 2024 - 24.9K bytes - Viewed (0)