- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for DisableCachingByDefault (0.41 sec)
-
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart1IntegrationTest.groovy
warning(""" Type 'MyTask' must be annotated either with @CacheableTask or with @DisableCachingByDefault. Reason: The task author should make clear why a task is not cacheable. Possible solutions: 1. Add @DisableCachingByDefault(because = ...). 2. Add @CacheableTask. 3. Add @UntrackedTask(because = ...).
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 36.9K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy
@CacheableTransform @DisableCachingByDefault(because = "test task") public class MyTask extends DefaultTask { @Nested Options getOptions() { return new Options(); } @CacheableTask @CacheableTransform @DisableCachingByDefault public static class Options {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 40.7K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/ValidateAction.java
import org.gradle.api.tasks.UntrackedTask; import org.gradle.internal.classanalysis.AsmConstants; import org.gradle.internal.reflect.DefaultTypeValidationContext; import org.gradle.util.internal.TextUtil; import org.gradle.work.DisableCachingByDefault; import org.gradle.workers.WorkAction; import org.gradle.workers.WorkParameters; import org.objectweb.asm.ClassReader; import org.objectweb.asm.ClassVisitor; import org.objectweb.asm.Opcodes;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 09:10:37 UTC 2024 - 10.1K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart2IntegrationTest.groovy
import org.gradle.api.*; import org.gradle.api.provider.*; import org.gradle.api.tasks.*; import org.gradle.work.*; import java.net.URL; @DisableCachingByDefault public abstract class MyTask extends DefaultTask { private final NestedBean nested = getProject().getObjects().newInstance(NestedBean.class); @Input
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 40K bytes - Viewed (0) -
build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/tasks/AbstractProjectGeneratorTask.groovy
import org.gradle.api.tasks.PathSensitive import org.gradle.api.tasks.PathSensitivity import org.gradle.api.tasks.TaskAction import org.gradle.work.DisableCachingByDefault /** * Original tangled mess of a project generator. */ @DisableCachingByDefault(because = "Abstract super-class, not to be instantiated directly") abstract class AbstractProjectGeneratorTask extends TemplateProjectGeneratorTask { @Input
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jul 07 13:12:26 UTC 2021 - 11.5K bytes - Viewed (0) -
subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/ProjectReportTask.java
import org.gradle.plugin.software.internal.SoftwareTypeRegistry; import org.gradle.util.Path; import org.gradle.util.internal.CollectionUtils; import org.gradle.work.DisableCachingByDefault; import javax.inject.Inject; import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; import java.util.HashSet; import java.util.List; import java.util.Map;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 03 16:02:32 UTC 2024 - 12.4K bytes - Viewed (0) -
platforms/jvm/scala/src/main/java/org/gradle/language/scala/tasks/AbstractScalaCompile.java
import org.gradle.work.DisableCachingByDefault; import javax.inject.Inject; import java.io.File; import java.io.IOException; import java.nio.charset.Charset; import java.util.HashMap; import java.util.List; import java.util.Map; /** * An abstract Scala compile task sharing common functionality for compiling scala. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 12.3K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/RuntimePluginValidationIntegrationTest.groovy
import org.gradle.api.tasks.*; import org.gradle.work.*; import java.util.*; import java.io.File; import javax.inject.Inject; @DisableCachingByDefault(because = "test task") public abstract class MyTask extends DefaultTask { @Inject protected abstract ObjectFactory getObjects(); @Nested
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 14:30:05 UTC 2024 - 11.1K bytes - Viewed (0) -
platforms/jvm/ear/src/main/java/org/gradle/plugins/ear/Ear.java
import org.gradle.plugins.ear.descriptor.internal.DefaultEarWebModule; import org.gradle.util.internal.ConfigureUtil; import org.gradle.util.internal.GUtil; import org.gradle.work.DisableCachingByDefault; import javax.annotation.Nullable; import javax.inject.Inject; import java.io.File; import java.io.OutputStreamWriter; import static java.util.Collections.singleton;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 10.8K bytes - Viewed (0) -
platforms/software/publish/src/main/java/org/gradle/api/publish/tasks/GenerateModuleMetadata.java
import org.gradle.internal.scopeids.id.BuildInvocationScopeId; import org.gradle.internal.serialization.Cached; import org.gradle.internal.serialization.Transient; import org.gradle.work.DisableCachingByDefault; import javax.annotation.Nonnull; import javax.inject.Inject; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 21 07:21:42 UTC 2023 - 12.1K bytes - Viewed (0)