Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for CacheableTask (0.15 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DispatchingBuildCacheIntegrationTest.groovy

            when:
            withBuildCache().run cacheableTask
    
            then:
            executedAndNotSkipped(cacheableTask)
            cacheOperations.assertStoredToLocalCacheForTask(cacheableTask)
            remoteCache.empty
    
            when:
            pullOnly()
            withBuildCache().run 'clean', cacheableTask
    
            then:
            skipped(cacheableTask)
            cacheOperations.getPackOperationsForTask(cacheableTask).empty
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 15:17:04 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/core/BuildScanAutoApplyClasspathIntegrationTest.groovy

            executedAndNotSkipped(":cacheableTask")
    
            when:
            succeeds "cacheableTask", "--scan"
    
            then:
            transitivePluginFixture.appliedOnce(output)
            assertNotAutoApplied(output)
            skipped(":cacheableTask")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 18:43:04 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache/src/integTest/groovy/org/gradle/caching/internal/BuildCacheBuildOperationsIntegrationTest.groovy

                }
    
                buildCache {
                    registerBuildCacheService(${className}, ${className}ServiceFactory)
                }
            """
        }
    
        String cacheableTask() {
            """
                @CacheableTask
                class CustomTask extends DefaultTask {
    
                    @Input
                    String val = "foo"
    
                    @Input
                    List<String> paths = []
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTask.kt

    import org.gradle.api.GradleException
    import org.gradle.api.tasks.CacheableTask
    import org.gradle.api.tasks.TaskAction
    import java.io.File
    
    
    /**
     * This [Task][org.gradle.api.Task] checks that the contents of a given accepted API changes files
     * are present in alphabetical order (by type, then member), and throws an exception and reports
     * any changes that are not.
     */
    @CacheableTask
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/ClasspathManifest.kt

    import org.gradle.api.provider.ListProperty
    import org.gradle.api.tasks.CacheableTask
    import org.gradle.api.tasks.Input
    import org.gradle.api.tasks.Internal
    import org.gradle.api.tasks.OutputFile
    import org.gradle.api.tasks.TaskAction
    import org.gradle.api.file.RegularFileProperty
    
    import java.util.Properties
    
    
    @CacheableTask
    abstract class ClasspathManifest : DefaultTask() {
    
        @get:Input
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 20:26:58 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

    import com.google.gson.Gson
    import com.google.gson.GsonBuilder
    import org.gradle.api.tasks.CacheableTask
    import org.gradle.api.tasks.TaskAction
    
    
    /**
     * This [Task][org.gradle.api.Task] reorders the changes in an accepted API changes files
     * so that they are alphabetically sorted (by type, then member).
     */
    @CacheableTask
    abstract class SortAcceptedApiChangesTask : AbstractAcceptedApiChangesMaintenanceTask() {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskCacheabilityReasonIntegrationTest.groovy

                @UntrackedTask(because = 'untracked-task-with-cacheable reason')
                @CacheableTask
                class UntrackedTrackWithReasonWithCacheable extends UnspecifiedCacheabilityTask {}
    
                @CacheableTask
                class Cacheable extends UnspecifiedCacheabilityTask {}
    
                class NoOutputs extends DefaultTask {
                    @TaskAction
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:59:01 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. platforms/jvm/jacoco/src/main/java/org/gradle/testing/jacoco/tasks/JacocoCoverageVerification.java

     * limitations under the License.
     */
    
    package org.gradle.testing.jacoco.tasks;
    
    import org.gradle.api.Action;
    import org.gradle.api.GradleException;
    import org.gradle.api.tasks.CacheableTask;
    import org.gradle.api.tasks.Nested;
    import org.gradle.api.tasks.OutputFile;
    import org.gradle.api.tasks.TaskAction;
    import org.gradle.internal.jacoco.AntJacocoCheck;
    import org.gradle.internal.jacoco.JacocoCheckResult;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. platforms/jvm/jacoco/src/main/java/org/gradle/testing/jacoco/tasks/JacocoReport.java

    package org.gradle.testing.jacoco.tasks;
    
    import groovy.lang.Closure;
    import org.gradle.api.Action;
    import org.gradle.api.provider.Property;
    import org.gradle.api.reporting.Reporting;
    import org.gradle.api.tasks.CacheableTask;
    import org.gradle.api.tasks.Input;
    import org.gradle.api.tasks.Nested;
    import org.gradle.api.tasks.TaskAction;
    import org.gradle.internal.jacoco.AntJacocoReport;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

    import org.gradle.api.file.DirectoryProperty
    import org.gradle.api.tasks.CacheableTask
    import org.gradle.api.tasks.InputDirectory
    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    import java.io.File
    
    
    /**
     * Abstract base class for [Task][org.gradle.api.Task]s that verify and manipulate the given accepted API changes file.
     */
    @CacheableTask
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top