Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 135 for content_es (0.17 sec)

  1. platforms/documentation/docs/src/snippets/files/copy/groovy/build.gradle

    abstract class MyReportTask extends DefaultTask {
        @OutputFile
        abstract RegularFileProperty getOutputFile()
    
        @TaskAction
        def createFile() {
            outputFile.get().asFile.text = "Report contents"
        }
    }
    
    tasks.register('myReportTask', MyReportTask) {
        outputFile = layout.buildDirectory.file("reports/my-report.pdf")
    }
    
    tasks.register('archiveReportsTask') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionInternal.java

         *
         * @return the display name
         */
        String getDisplayName();
    
        /**
         * Appends diagnostic information about the contents of this collection to the given formatter.
         */
        TreeFormatter describeContents(TreeFormatter formatter);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 14:55:28 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/samples/SamplesScalaQuickstartIntegrationTest.groovy

            // Check tests have run
            def result = new DefaultTestExecutionResult(projectDir)
            result.assertTestClassesExecuted('org.gradle.sample.PersonSpec')
    
            // Check contents of Jar
            TestFile jarContents = file('jar')
            projectDir.file("build/libs/quickstart.jar").unzipTo(jarContents)
            jarContents.assertHasDescendants(
                    'META-INF/MANIFEST.MF',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/samples/SamplesMixedJavaAndScalaIntegrationTest.groovy

            // Check tests have run
            def result = new DefaultTestExecutionResult(projectDir)
            result.assertTestClassesExecuted('org.gradle.sample.PersonSpec')
    
            // Check contents of Jar
            TestFile jarContents = file('jar')
            projectDir.file("build/libs/mixed-java-and-scala-1.0.jar").unzipTo(jarContents)
            jarContents.assertHasDescendants(
                'META-INF/MANIFEST.MF',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/metadata/JsonWriterScope.java

                }
            });
        }
    
        protected void writeArray(String name, Contents contents) throws IOException {
            jsonWriter.name(name);
            writeArray(contents);
        }
    
        protected void writeArray(Contents contents) throws IOException {
            jsonWriter.beginArray();
            contents.write();
            endArray();
        }
    
        protected void beginArray(String name) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ResolverResults.java

                /**
                 * Creates a set that selects the artifacts from this set that match the given criteria.
                 * Implementations are lazy, so that the selection happens only when the contents are queried.
                 *
                 * @param dependencySpec Select only those artifacts reachable from first level dependencies that match the given spec.
                 */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 03:03:36 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/DesugaredAttributeContainerSerializer.java

    import java.io.IOException;
    
    /**
     * A lossy attribute container serializer. It's lossy because it doesn't preserve the attribute
     * types: it will serialize the contents as strings, and read them as strings, only for reporting
     * purposes.
     */
    @ServiceScope(Scope.BuildSession.class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/failure/mappers/OpenTestAssertionFailedMapper.java

            } else if (isFileInfo(value)) {
                return invokeMethod(value, "getPath", String.class);
            } else {
                return value.toString();
            }
        }
    
        /**
         * Returns the contents of a {@code FileInfo} or null if the value is not a {@code FileInfo}.
         */
        @Nullable
        private static byte[] getContentsOrNull(@Nullable Object value) throws Exception {
            if (isFileInfo(value)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:48:53 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskIntegrationTest.groovy

            expect:
            outputContains "Using local directory build cache for the root build (location = ${cacheDir}, removeUnusedEntriesAfter = 7 days)."
        }
    
        def "cache entry contains expected contents"() {
            buildFile << defineCacheableTask()
            when:
            withBuildCache().run("cacheable")
            then:
            def cacheKey = cacheOperations.getCacheKeyForTask(":cacheable")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 20 17:51:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/impl/DefaultOutputSnapshotterTest.groovy

                outputVisitor.visitOutputProperty("output", TreeType.FILE, UnitOfWork.OutputFileValueSupplier.fromStatic(root, contents))
            }
            1 * fileCollectionSnapshotter.snapshot(contents) >> Stub(FileCollectionSnapshotter.Result) {
                snapshot >> outputSnapshot
            }
            0 * _
    
            then:
            result as Map == ["output": outputSnapshot]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top