- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for createTempDirectory (0.24 sec)
-
platforms/core-execution/build-cache-example-client/src/main/java/org/gradle/caching/example/BuildCacheClientModule.java
CacheCleanupStrategy cacheCleanupStrategy, FileAccessTimeJournal fileAccessTimeJournal, CacheFactory cacheFactory ) throws IOException { File target = Files.createTempDirectory("build-cache").toFile(); FileUtils.forceMkdir(target); FileAccessTracker fileAccessTracker = new SingleDepthFileAccessTracker(fileAccessTimeJournal, target, 1);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 07:11:58 UTC 2024 - 18.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy
*/ void useTestDirectoryThatIsNotEmbeddedInAnotherBuild() { // Cannot use Files.createTempDirectory(String) as other tests mess with the static state used by that method // so that it creates directories under the root directory of the Gradle build.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:07:53 UTC 2024 - 32.9K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
resolve(path).apply { parentFile.mkdirs() writeText(text.trimIndent()) } private fun File.withUniqueDirectory(prefixPath: String): File = Files.createTempDirectory( withDirectory(prefixPath.substringBeforeLast("/")).toPath(), prefixPath.substringAfterLast("/") ).toFile() private fun File.withDirectory(path: String): File =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 16.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)