- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for notCompatibleWithConfigurationCache (0.77 sec)
-
platforms/documentation/docs/src/samples/credentials-handling/publishing-credentials/kotlin/maven-repository-stub/src/main/kotlin/maven-repository-stub.gradle.kts
tasks.withType<PublishToMavenRepository>().configureEach { notCompatibleWithConfigurationCache("Configures repository at execution time") doFirst { val address = com.example.MavenRepositoryStub.start() getRepository().setUrl(address) } doLast { com.example.MavenRepositoryStub.stop() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 332 bytes - Viewed (0) -
platforms/documentation/docs/src/samples/credentials-handling/publishing-credentials/groovy/maven-repository-stub/src/main/groovy/maven-repository-stub.gradle
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 330 bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemsServiceIntegTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 13:04:02 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/dependencyLocking-lockingAllConfigurations/groovy/build.gradle
plugins { id 'java' } // tag::locking-all[] dependencyLocking { lockAllConfigurations() } // end::locking-all[] // tag::resolve-all[] tasks.register('resolveAndLockAll') { notCompatibleWithConfigurationCache("Filters configurations at execution time") doFirst { assert gradle.startParameter.writeDependencyLocks : "$path must be run from the command line with the `--write-locks` flag" } doLast {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 632 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/dependencyLocking-lockingAllConfigurations/kotlin/build.gradle.kts
plugins { java } // tag::locking-all[] dependencyLocking { lockAllConfigurations() } // end::locking-all[] // tag::resolve-all[] tasks.register("resolveAndLockAll") { notCompatibleWithConfigurationCache("Filters configurations at execution time") doFirst { require(gradle.startParameter.isWriteDependencyLocks) { "$path must be run from the command line with the `--write-locks` flag" } } doLast {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 637 bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblemsSummary.kt
private const val maxCauses = 5 internal enum class ProblemSeverity { Info, Failure, /** * A problem produced by a task marked as [notCompatibleWithConfigurationCache][Task.notCompatibleWithConfigurationCache]. */ Suppressed } /** * This class is thread-safe. */ internal class ConfigurationCacheProblemsSummary( private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:07:53 UTC 2024 - 6.7K bytes - Viewed (0) -
build-logic/root-build/src/main/kotlin/gradlebuild.internal.cc-experiment.gradle.kts
) -> true else -> false } } gradle.taskGraph.whenReady { allTasks.filter(unsupportedTasksPredicate).forEach { task -> task.notCompatibleWithConfigurationCache("Task is not compatible with the configuration cache") } } fun String.startsWithAnyOf(vararg prefixes: String): Boolean = prefixes.any { prefix -> startsWith(prefix) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 17:29:09 UTC 2024 - 4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskExecutionIntegrationTest.groovy
println("Materialized task \${task.name} from project \${task.project.name}") } tasks.register("offender") { notCompatibleWithConfigurationCache("calls getProject") // This task reaches out to other task at execution time and triggers its configuration. doLast { task ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 5K bytes - Viewed (0) -
subprojects/diagnostics/src/main/java/org/gradle/api/reporting/dependents/DependentComponentsReport.java
public abstract class DependentComponentsReport extends DefaultTask { private boolean showNonBuildable; private boolean showTestSuites; private List<String> components; { notCompatibleWithConfigurationCache("Requires access to the component model at execution time."); } /** * Should this include non-buildable components in the report? */ @Console
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 7.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/initialization/ConfigurationCacheProblemsListener.kt
// and that usage can be benign. This is especially important when the currently running task is // marked as `notCompatibleWithConfigurationCache` - attributing the error to `task` will cause // the build to fail when it really shouldn't. val contextTask = runningTask ?: task val isExecutingOtherTask = contextTask != task
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 8.4K bytes - Viewed (0)