- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 127 for deleteMin (0.36 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) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/LockFileReaderWriterTest.groovy
lockFileReaderWriter = new LockFileReaderWriter(resolver, context, lockFile, listener) } def 'writes a unique lock file'() { when: lockDir.deleteDir() lockFileReaderWriter.writeUniqueLockfile([a: ['foo', 'bar'], b: ['foo'], c: []]) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 02:50:41 UTC 2024 - 9.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) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy
""" when: withBuildCache().run "customTask" then: result.assertTaskNotSkipped(":customTask") when: file("buildSrc/build").deleteDir() file("buildSrc/.gradle").deleteDir() cleanBuildDir() withBuildCache().run "customTask" then: result.groupedOutput.task(":customTask").outcome == "FROM-CACHE" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 30.6K 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)