- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for file_contents (0.22 seconds)
-
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts
/** * Returns the trimmed contents of the file at the given [path] after * marking the file as a build logic input. */ fun Project.trimmedContentsOfFile(path: String): Provider<String> = providers.fileContents(repoRoot().file(path)).asText.map { it.trim() } // TODO Simplify the buildTimestamp() calculation if possible fun Project.buildTimestamp(): Provider<String> = providers.of(BuildTimestampValueSource::class) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:46:35 GMT 2026 - 5.8K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java
task.getReleaseNotes().set(extension.getReleaseNotes().getMarkdownFile()); task.getMilestone().convention(project.getProviders().fileContents(project.getIsolated().getRootProject().getProjectDirectory().file("version.txt")).getAsText().map(String::trim)); });
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:49:33 GMT 2026 - 6.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/StorageTests.java
} @Test void testUpload_ok() { // Create a test file content String fileContent = "Test file content for storage upload"; // Upload file Response response = given().header("Authorization", getTestToken()) .multiPart("file", NAME_PREFIX + "test.txt", fileContent.getBytes()) .when() .put(getApiPath() + "/upload/");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.3K bytes - Click Count (0)