- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 91 for CacheableTask (0.25 sec)
-
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) -
platforms/documentation/docs/src/snippets/testKit/testKitFunctionalTestSpockBuildCache/groovy/src/test/groovy/org/gradle/sample/BuildLogicFunctionalTest.groovy
// tag::functional-test-build-cache[] def "cacheableTask is loaded from cache"() { given: buildFile << """ plugins { id 'org.gradle.sample.helloworld' } """ when: def result = runner() .withArguments( '--build-cache', 'cacheableTask') .build() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.6K bytes - Viewed (0) -
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) -
platforms/documentation/docs/src/snippets/testKit/testKitFunctionalTestSpockBuildCache/groovy/src/main/groovy/org/gradle/sample/MyCacheableTask.groovy
package org.gradle.sample import org.gradle.api.DefaultTask import org.gradle.api.tasks.CacheableTask import org.gradle.api.tasks.InputFile import org.gradle.api.tasks.OutputFile import org.gradle.api.tasks.PathSensitive import org.gradle.api.tasks.PathSensitivity import org.gradle.api.tasks.TaskAction @CacheableTask class MyCacheableTask extends DefaultTask { @InputFile @PathSensitive(PathSensitivity.NONE) File inputFile
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 567 bytes - Viewed (0) -
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) -
platforms/native/language-native/src/main/java/org/gradle/language/c/tasks/CCompile.java
import org.gradle.api.Incubating; import org.gradle.api.tasks.CacheableTask; import org.gradle.language.c.internal.DefaultCCompileSpec; import org.gradle.language.nativeplatform.tasks.AbstractNativeSourceCompileTask; import org.gradle.nativeplatform.toolchain.internal.NativeCompileSpec; /** * Compiles C source files into object files. */ @Incubating @CacheableTask public abstract class CCompile extends AbstractNativeSourceCompileTask {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.2K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/SmokeIdeTest.kt
*/ package gradlebuild.integrationtests.tasks import org.gradle.api.tasks.CacheableTask /** * A test that provides an IDE as environment for checking IDE and Gradle behavior during synchronization process. * These tests are running using `forking` executor, since current Gradle distribution has to be used as a Gradle version for IDE. */ @CacheableTask abstract class SmokeIdeTest : DistributionTest() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 29 10:30:14 UTC 2023 - 1K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/cpp/tasks/CppCompile.java
package org.gradle.language.cpp.tasks; import org.gradle.api.tasks.CacheableTask; import org.gradle.language.cpp.tasks.internal.DefaultCppCompileSpec; import org.gradle.language.nativeplatform.tasks.AbstractNativeSourceCompileTask; import org.gradle.nativeplatform.toolchain.internal.NativeCompileSpec; /** * Compiles C++ source files into object files. */ @CacheableTask public abstract class CppCompile extends AbstractNativeSourceCompileTask {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/software/plugins-version-catalog/src/main/java/org/gradle/api/plugins/catalog/internal/TomlFileGenerator.java
import org.gradle.api.provider.Property; import org.gradle.api.tasks.CacheableTask; import org.gradle.api.tasks.Input; import org.gradle.api.tasks.OutputFile; import org.gradle.api.tasks.TaskAction; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; @CacheableTask public abstract class TomlFileGenerator extends DefaultTask {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 16 12:28:14 UTC 2023 - 2.2K bytes - Viewed (0) -
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)