- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 134 for isFile (0.04 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
@Test fun rebuildJournalOnRepeatedReads() { set("a", "a", "a") set("b", "b", "b") while (taskFaker.isIdle()) { assertValue("a", "a", "a") assertValue("b", "b", "b") } } @Test fun rebuildJournalOnRepeatedEdits() { while (taskFaker.isIdle()) { set("a", "a", "a") set("b", "b", "b") } taskFaker.runNextTask()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 59.4K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy
@TaskAction def transform() { logging.captureStandardOutput(LogLevel.INFO) logging.captureStandardError(LogLevel.INFO) def destDir = destinationDirectory.get().asFile fs.delete { delete(destDir, temporaryDir) } def xslClasspath = classpath.plus(objects.fileCollection().from(ClasspathUtil.getClasspathForClass(XslTransformer))) fs.copy {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 04 07:24:54 GMT 2024 - 4.7K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt
fun Directory.parentOrRoot(): Directory = if (this.file("version.txt").asFile.exists()) { this } else { val parent = dir("..") when { parent.file("version.txt").asFile.exists() -> parent this == parent -> error("Cannot find 'version.txt' file in root of repository") else -> parent.parentOrRoot() } }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sat Dec 21 08:58:33 GMT 2024 - 4.7K bytes - Click Count (1) -
build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt
println("Tests to be included:\n$content") IncludeTestClassProvider(readTestClasses(content)) } parameters.excludeTestClasses.get().isNotBlank() -> { val content = parameters.repoRoot.file("test-splits/exclude-test-classes.properties").get().asFile.readText() println("Tests to be excluded:\n$content")
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jun 28 08:29:28 GMT 2024 - 4.9K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/GenerateAutoTestedSamplesTestTask.kt
init { outputDir.convention(project.layout.buildDirectory.dir("generated/sources/autoTested/groovy")) } @TaskAction fun generate() { fileOperations.delete(outputDir.get().asFile) if (generateAutoTestedSamplesTest.get()) { mainSources.asFileTree.matching { include("**/*.java") include("**/*.groovy") }.visit {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Dec 19 06:44:41 GMT 2025 - 3.9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/FindGradleClasspath.groovy
@InputArtifact abstract Provider<FileSystemLocation> getArtifact() @Override void transform(TransformOutputs outputs) { File artifactFile = artifact.get().asFile if (artifactFile.name == 'gradle-dependencies') { (artifactFile.listFiles() as List<File>).sort { it.name }.each { outputs.file(it) } } }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Jul 07 13:12:26 GMT 2021 - 1.7K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/CleanAcceptedApiChanges.groovy
@InputDirectory abstract DirectoryProperty getJsonFileDirectory() @TaskAction void clean() { def jsonFileManager = new AcceptedApiChangesJsonFileManager() jsonFileDirectory.asFile.get().listFiles() ?.findAll { it.name.endsWith(".json") } ?.each { jsonFileManager.emptyAcceptedApiChanges(it) } }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Jun 05 08:27:29 GMT 2024 - 1.6K bytes - Click Count (0) -
cmd/batch-job-common-types_gen.go
if dc.IsNil() { err = dc.ReadNil() if err != nil { err = msgp.WrapError(err, "SmallerThan") return } z.SmallerThan = nil } else { if z.SmallerThan == nil { z.SmallerThan = new(string) } *z.SmallerThan, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "SmallerThan") return } } case "SkipErrs": if dc.IsNil() {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 21.9K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupTask.kt
sdkVersions.orNull.orEmpty().forEach { version -> val projectName = "platform-${version.compileSdk}-buildtools-${version.buildTools.replace(".", "-")}" val projectDir = File(warmupProjectsDirectory.get().asFile, projectName) logger.lifecycle("Generating project: $projectName") generateProject(projectDir, version) logger.lifecycle("Building project: $projectName")
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 09 09:24:29 GMT 2025 - 5.8K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateContributorsInReleaseNotes.kt
val sortedContributors = contributorsToUpdate.entries.sortedBy { (it.value.name ?: it.key).lowercase() } val (linesBeforeContributors, _, linesAfterContributors) = parseReleaseNotes() releaseNotes.asFile.get().writeText( "${linesBeforeContributors.joinToString("\n")}\n${sortedContributors.joinToString(",\n") { "[${it.value.name ?: it.key}](https://github.com/${it.key})" }}\n\n${linesAfterContributors.joinToString("\n")}\n"Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sun Dec 15 07:49:41 GMT 2024 - 2K bytes - Click Count (0)