- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 69 for deleteMin (0.12 sec)
-
platforms/documentation/docs/src/snippets/tasks/incrementalBuild-customTaskClass/groovy/build.gradle
// tag::adhoc-destroyable-task[] tasks.register('removeTempDir') { def tempDir = layout.projectDirectory.dir('tmpDir') destroyables.register(tempDir) doLast { tempDir.asFile.deleteDir() } } // end::adhoc-destroyable-task[] tasks.named('build') { dependsOn processTemplates, 'processTemplatesAdHoc', 'processTemplatesAdHocSkipWhenEmpty', 'processTemplatesWithExtraInputs'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/SdkmanInstallationSupplierTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 22:17:53 UTC 2024 - 3.5K bytes - Viewed (0) -
build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/tasks/RemoteProject.groovy
*/ @OutputDirectory final File outputDirectory = project.layout.buildDirectory.dir("$name").get().asFile @TaskAction void checkoutAndCopy() { outputDirectory.deleteDir() File checkoutDir = checkout(fsOps, execOps, remoteUri.get(), ref.get(), temporaryDir) moveToOutputDir(checkoutDir, outputDirectory, subdirectory.getOrNull()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jul 06 10:57:13 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/AsdfInstallationSupplierTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 22:17:53 UTC 2024 - 3.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestBuildCache.groovy
} void deleteCacheEntry(String cacheKey) { def entry = getTestFileCacheEntry(cacheKey) if (entry.file.exists()) { entry.file.deleteDir() } } boolean hasCacheEntry(String cacheKey) { return getTestFileCacheEntry(cacheKey).file.exists() } TestCacheEntry getCacheEntry(String cacheKey) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcLocationIntegrationTest.groovy
def originalBuildSrcJarState = originalBuildSrcJar.snapshot() and: // Remove the src directory, leaving only the generated jar file("buildSrc/src").deleteDir() and: // Run another build, checking that `buildSrc.jar` is not in the class path buildFile << """ try { getClass().classLoader.loadClass("org.acme.build.SomeBuildSrcClass")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 09 12:02:33 UTC 2022 - 3.7K bytes - Viewed (0) -
platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesFilesMiscIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 4.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskIntegrationTest.groovy
when: withBuildCache().run "cacheable", "--info" then: outputContains "Stored cache entry for task ':cacheable' with cache key" file("build").deleteDir() when: withBuildCache().run "cacheable", "--info" then: outputContains "Loaded cache entry for task ':cacheable' with cache key" } def defineCacheableTask() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 20 17:51:57 UTC 2024 - 5.7K bytes - Viewed (0) -
testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/ParallelDownloadsPerformanceTest.groovy
} private void cleanupCache(File userHomeDir) { ['modules-2', 'external-resources'].each { new File("$userHomeDir/caches/$it").deleteDir() } } } } } def "resolves dependencies from external repository"() { startServer() given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.3K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/SupportedBuildJvmIntegrationTest.groovy
// start one JVM with jdk to remove executer.withJavaHome(jdkToRemove) succeeds("help") when: // remove the JDK jdkToRemove.deleteDir() // don't ask for the removed JDK now executer.withJavaHome(installedJdk) then: // try to start another build succeeds("help") } @Requires(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.9K bytes - Viewed (0)