- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for DisableCachingByDefault (0.39 sec)
-
subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/DependencyReportTask.java
* limitations under the License. */ package org.gradle.api.tasks.diagnostics; import org.gradle.work.DisableCachingByDefault; /** * Displays the dependency tree for a project. An instance of this type is used when you * execute the {@code dependencies} task from the command-line. */ @DisableCachingByDefault(because = "Not worth caching")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 13:33:20 UTC 2024 - 1008 bytes - Viewed (0) -
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) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/CleanAcceptedApiChanges.groovy
import org.gradle.api.tasks.PathSensitivity import org.gradle.api.tasks.TaskAction import org.gradle.work.DisableCachingByDefault /** * A task used for cleaning up all accepted API changes. The functionality is called whenever the release process initiates "branching". */ @DisableCachingByDefault(because = "Not worth caching") abstract class CleanAcceptedApiChanges extends DefaultTask {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 05 08:27:29 UTC 2024 - 1.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/FindGradleJars.groovy
import org.gradle.api.file.FileSystemLocation import org.gradle.api.provider.Provider import org.gradle.api.tasks.PathSensitive import org.gradle.api.tasks.PathSensitivity import org.gradle.work.DisableCachingByDefault @CompileStatic @DisableCachingByDefault(because = "Only filters the input artifact") abstract class FindGradleJars implements TransformAction<TransformParameters.None> { @PathSensitive(PathSensitivity.NAME_ONLY)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 12:20:44 UTC 2024 - 1.7K 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) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/ServeDocs.java
import org.gradle.process.internal.JavaExecHandleBuilder; import org.gradle.process.internal.JavaExecHandleFactory; import org.gradle.work.DisableCachingByDefault; import javax.inject.Inject; import java.util.Arrays; /** * Serves the given directory with a simple HTTP server. */ @DisableCachingByDefault(because = "This task starts a HTTP server and should not be cached.") public abstract class ServeDocs extends DefaultTask { @InputFiles
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 12:38:47 UTC 2024 - 2.9K bytes - Viewed (0) -
build-logic/packaging/src/main/kotlin/gradlebuild/packaging/transforms/CopyPublicApiClassesTransform.kt
import org.gradle.api.tasks.Classpath import org.gradle.work.DisableCachingByDefault import java.util.zip.ZipEntry import java.util.zip.ZipFile // TODO This should work via filtering classes dirs, but for that we need to be able to set a default attribute // on classes directories -- see https://github.com/gradle/gradle/issues/29319 @DisableCachingByDefault(because = "Only copies public API classes")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 11:35:57 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/tasks/PrintAccessors.kt
import org.gradle.kotlin.dsl.accessors.accessible import org.gradle.kotlin.dsl.accessors.accessorsFor import org.gradle.kotlin.dsl.accessors.fragmentsFor import org.gradle.work.DisableCachingByDefault import javax.inject.Inject @DisableCachingByDefault(because = "Produces only non-cacheable console output") abstract class PrintAccessors : DefaultTask() { init { group = "help"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:45 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-runtime/build-configuration/src/main/java/org/gradle/buildconfiguration/tasks/UpdateDaemonJvm.java
import org.gradle.util.internal.IncubationLogger; import org.gradle.work.DisableCachingByDefault; import javax.inject.Inject; /** * Generates or updates the Gradle Daemon JVM criteria. * * This controls the version of the JVM required to run the Gradle Daemon. * * @since 8.8 */ @DisableCachingByDefault(because = "Not worth caching") @Incubating
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 13:41:21 UTC 2024 - 2.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/tasks/Exec.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.api.tasks; import org.gradle.work.DisableCachingByDefault; /** * Executes a command line process. Example: * <pre class='autoTested'> * task stopTomcat(type:Exec) { * workingDir '../tomcat/bin' * * //on windows:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 1.4K bytes - Viewed (0)