gradle-versions-plugin
gradle-versions-plugin copied to clipboard
Failed to determine the latest version for the following dependencies (use --info for details):
This can be reproduced at this version:
https://github.com/tek/splain/actions/runs/6450250076
running gradlew dependencyUpdates --info
gives:
Failed to determine the latest version for the following dependencies (use --info for details):
- com.chuusai:shapeless_2.13
2.4.0-M1
The exception that is the cause of unresolved state: org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve com.chuusai:shapeless_2.13:+.
Required by:
project :core
Caused by: org.gradle.internal.component.NoMatchingConfigurationSelectionException: No matching variant of com.chuusai:shapeless_2.13:2.4.0-M1 was found. The consumer was configured to find a component of category 'scala-analysis' for use during 'incremental-analysis', compatible with any Java version but:
- Variant 'compile' capability com.chuusai:shapeless_2.13:2.4.0-M1:
- Incompatible because this component declares a library for use during compile-time and the consumer needed a component of category 'scala-analysis' for use during 'incremental-analysis'
- Other compatible attribute:
- Doesn't say anything about its target Java version (required compatibility with any Java version)
- Variant 'enforced-platform-compile' capability com.chuusai:shapeless_2.13-derived-enforced-platform:2.4.0-M1:
- Incompatible because this component declares an enforced platform for use during compile-time and the consumer needed a component of category 'scala-analysis' for use during 'incremental-analysis'
- Other compatible attribute:
- Doesn't say anything about its target Java version (required compatibility with any Java version)
- Variant 'enforced-platform-runtime' capability com.chuusai:shapeless_2.13-derived-enforced-platform:2.4.0-M1:
- Incompatible because this component declares an enforced platform for use during runtime and the consumer needed a component of category 'scala-analysis' for use during 'incremental-analysis'
- Other compatible attribute:
- Doesn't say anything about its target Java version (required compatibility with any Java version)
- Variant 'javadoc' capability com.chuusai:shapeless_2.13:2.4.0-M1:
- Incompatible because this component declares documentation for use during runtime and the consumer needed a component of category 'scala-analysis' for use during 'incremental-analysis'
- Other compatible attribute:
- Doesn't say anything about its target Java version (required compatibility with any Java version)
- Variant 'platform-compile' capability com.chuusai:shapeless_2.13-derived-platform:2.4.0-M1:
- Incompatible because this component declares a platform for use during compile-time and the consumer needed a component of category 'scala-analysis' for use during 'incremental-analysis'
- Other compatible attribute:
- Doesn't say anything about its target Java version (required compatibility with any Java version)
- Variant 'platform-runtime' capability com.chuusai:shapeless_2.13-derived-platform:2.4.0-M1:
- Incompatible because this component declares a platform for use during runtime and the consumer needed a component of category 'scala-analysis' for use during 'incremental-analysis'
- Other compatible attribute:
- Doesn't say anything about its target Java version (required compatibility with any Java version)
- Variant 'runtime' capability com.chuusai:shapeless_2.13:2.4.0-M1:
- Incompatible because this component declares a library for use during runtime and the consumer needed a component of category 'scala-analysis' for use during 'incremental-analysis'
- Other compatible attribute:
- Doesn't say anything about its target Java version (required compatibility with any Java version)
- Variant 'sources' capability com.chuusai:shapeless_2.13:2.4.0-M1:
- Incompatible because this component declares documentation for use during runtime and the consumer needed a component of category 'scala-analysis' for use during 'incremental-analysis'
- Other compatible attribute:
- Doesn't say anything about its target Java version (required compatibility with any Java version)
at org.gradle.internal.component.SelectionFailureHandler.noMatchingConfigurationSelectionFailure(SelectionFailureHandler.java:282)
at org.gradle.internal.component.model.AttributeMatchingConfigurationSelector.selectVariantsUsingAttributeMatching(AttributeMatchingConfigurationSelector.java:132)
at org.gradle.internal.component.model.AttributeMatchingConfigurationSelector.selectVariantsUsingAttributeMatching(AttributeMatchingConfigurationSelector.java:68)
at org.gradle.internal.component.model.LocalComponentDependencyMetadata.selectVariants(LocalComponentDependencyMetadata.java:125)
at org.gradle.internal.component.model.DelegatingDependencyMetadata.selectVariants(DelegatingDependencyMetadata.java:46)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.builder.EdgeState.calculateTargetConfigurations(EdgeState.java:262)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.builder.EdgeState.attachToTargetConfigurations(EdgeState.java:147)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.builder.DependencyGraphBuilder.attachToTargetRevisionsSerially(DependencyGraphBuilder.java:345)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.builder.DependencyGraphBuilder.resolveEdges(DependencyGraphBuilder.java:237)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.builder.DependencyGraphBuilder.traverseGraph(DependencyGraphBuilder.java:174)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.builder.DependencyGraphBuilder.resolve(DependencyGraphBuilder.java:147)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver.resolve(DefaultArtifactDependencyResolver.java:171)
at org.gradle.api.internal.artifacts.ivyservice.DefaultConfigurationResolver.resolveGraph(DefaultConfigurationResolver.java:210)
at org.gradle.api.internal.artifacts.ivyservice.ShortCircuitEmptyConfigurationResolver.resolveGraph(ShortCircuitEmptyConfigurationResolver.java:86)
at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.resolveGraph(ErrorHandlingConfigurationResolver.java:73)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$1.call(DefaultConfiguration.java:717)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$1.call(DefaultConfiguration.java:709)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:78)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveGraphIfRequired(DefaultConfiguration.java:709)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.lambda$resolveExclusively$3(DefaultConfiguration.java:689)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$CalculatedModelValueImpl.update(DefaultProjectStateRegistry.java:504)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveExclusively(DefaultConfiguration.java:686)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.lambda$resolveToStateOrLater$2(DefaultConfiguration.java:679)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$fromMutableState$2(DefaultProjectStateRegistry.java:429)
at org.gradle.internal.work.DefaultWorkerLeaseService.withReplacedLocks(DefaultWorkerLeaseService.java:360)
at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.fromMutableState(DefaultProjectStateRegistry.java:429)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveToStateOrLater(DefaultConfiguration.java:679)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.getResolvedConfiguration(DefaultConfiguration.java:658)
at org.gradle.api.internal.artifacts.configurations.DefaultUnlockedConfiguration_Decorated.getResolvedConfiguration(Unknown Source)
at com.github.benmanes.gradle.versions.updates.Resolver.resolve(Resolver.kt:56)
at com.github.benmanes.gradle.versions.updates.DependencyUpdates.resolve(DependencyUpdates.kt:89)
at com.github.benmanes.gradle.versions.updates.DependencyUpdates.resolveProjects(DependencyUpdates.kt:74)
at com.github.benmanes.gradle.versions.updates.DependencyUpdates.run(DependencyUpdates.kt:44)
at com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask.dependencyUpdates(DependencyUpdatesTask.kt:138)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:125)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:248)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:73)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:233)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:216)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:199)
at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:166)
at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:105)
at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:44)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:59)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:56)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:78)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:56)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:44)
at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:67)
at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:37)
at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:41)
at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:74)
at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55)
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:50)
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:28)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.executeDelegateBroadcastingChanges(CaptureStateAfterExecutionStep.java:100)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:72)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:50)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:40)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:29)
at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:179)
at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:70)
at org.gradle.internal.Either$Right.fold(Either.java:175)
at org.gradle.internal.execution.caching.CachingState.fold(CachingState.java:59)
at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:68)
at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:46)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:36)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:25)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:36)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:22)
at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:91)
at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:55)
at java.base/java.util.Optional.orElseGet(Optional.java:369)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:55)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:37)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:65)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:36)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:77)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:38)
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:108)
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:55)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:71)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:45)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.executeWithNonEmptySources(SkipEmptyWorkStep.java:177)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:81)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:53)
at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:32)
at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:21)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:36)
at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:23)
at org.gradle.internal.execution.steps.CleanupStaleOutputsStep.execute(CleanupStaleOutputsStep.java:75)
at org.gradle.internal.execution.steps.CleanupStaleOutputsStep.execute(CleanupStaleOutputsStep.java:41)
at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.lambda$execute$2(ExecuteWorkBuildOperationFiringStep.java:66)
at java.base/java.util.Optional.orElseGet(Optional.java:369)
at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.execute(ExecuteWorkBuildOperationFiringStep.java:66)
at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.execute(ExecuteWorkBuildOperationFiringStep.java:38)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:32)
at org.gradle.api.internal.tasks.execution.TaskExecution$4.withWorkspace(TaskExecution.java:293)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:21)
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:37)
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:27)
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:47)
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:34)
at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:64)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:145)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:134)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:78)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:331)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:318)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.lambda$execute$0(DefaultTaskExecutionGraph.java:314)
at org.gradle.internal.operations.CurrentBuildOperationRef.with(CurrentBuildOperationRef.java:80)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:314)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:303)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:463)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:380)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
- dev.zio:zio_2.13
2.0.18
The exception that is the cause of unresolved state: org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve dev.zio:zio_2.13:+.
Required by:
project :core
Caused by: org.gradle.internal.component.NoMatchingConfigurationSelectionException: No matching variant of dev.zio:zio_2.13:2.0.18 was found. The consumer was configured to find a component of category 'scala-analysis' for use during 'incremental-analysis', compatible with any Java version but:
- Variant 'compile' capability dev.zio:zio_2.13:2.0.18:
- Incompatible because this component declares a library for use during compile-time and the consumer needed a component of category 'scala-analysis' for use during 'incremental-analysis'
- Other compatible attribute:
- Doesn't say anything about its target Java version (required compatibility with any Java version)
- Variant 'enforced-platform-compile' capability dev.zio:zio_2.13-derived-enforced-platform:2.0.18:
- Incompatible because this component declares an enforced platform for use during compile-time and the consumer needed a component of category 'scala-analysis' for use during 'incremental-analysis'
- Other compatible attribute:
- Doesn't say anything about its target Java version (required compatibility with any Java version)
- Variant 'enforced-platform-runtime' capability dev.zio:zio_2.13-derived-enforced-platform:2.0.18:
- Incompatible because this component declares an enforced platform for use during runtime and the consumer needed a component of category 'scala-analysis' for use during 'incremental-analysis'
- Other compatible attribute:
- Doesn't say anything about its target Java version (required compatibility with any Java version)
- Variant 'javadoc' capability dev.zio:zio_2.13:2.0.18:
- Incompatible because this component declares documentation for use during runtime and the consumer needed a component of category 'scala-analysis' for use during 'incremental-analysis'
- Other compatible attribute:
- Doesn't say anything about its target Java version (required compatibility with any Java version)
- Variant 'platform-compile' capability dev.zio:zio_2.13-derived-platform:2.0.18:
- Incompatible because this component declares a platform for use during compile-time and the consumer needed a component of category 'scala-analysis' for use during 'incremental-analysis'
- Other compatible attribute:
- Doesn't say anything about its target Java version (required compatibility with any Java version)
- Variant 'platform-runtime' capability dev.zio:zio_2.13-derived-platform:2.0.18:
- Incompatible because this component declares a platform for use during runtime and the consumer needed a component of category 'scala-analysis' for use during 'incremental-analysis'
- Other compatible attribute:
- Doesn't say anything about its target Java version (required compatibility with any Java version)
- Variant 'runtime' capability dev.zio:zio_2.13:2.0.18:
- Incompatible because this component declares a library for use during runtime and the consumer needed a component of category 'scala-analysis' for use during 'incremental-analysis'
- Other compatible attribute:
- Doesn't say anything about its target Java version (required compatibility with any Java version)
- Variant 'sources' capability dev.zio:zio_2.13:2.0.18:
- Incompatible because this component declares documentation for use during runtime and the consumer needed a component of category 'scala-analysis' for use during 'incremental-analysis'
- Other compatible attribute:
- Doesn't say anything about its target Java version (required compatibility with any Java version)
at
Wondering if part of the resolving algorithm is incompatible with Scala
Can you try adding apply plugin: 'jvm-ecosystem'
(https://github.com/ben-manes/gradle-versions-plugin/issues/746) and see if that helps?
The module metadata stuff is very confusing and brittle. I’m really surprised it works at all since using the Gradle apis since 1.0 runs into these weird cases now.
ah sorry forgot it, now applied in the latest commit: https://github.com/tek/splain/actions/runs/6450315854
But it doesn't change the outcome :-<
It may be exclusive to Scala+gradle users, a minority to my impression
Another workaround might be to disable Gradle module metadata from the source repository, so that it relies upon on the pom metadata like before. The modules are really only used by android and kotlin craziness so it’s usually safe to get rid of.
Thanks for addressing it but I believe they are used by some other Gradle plugins to verify JVM binary compabilities. They will be disrupted if source repo ignored all of them.
Instead, a fallback mechanism in your plugin should be a more preferable option
The plugin is just calling the Gradle apis to resolve dependencies in a configuration. The problem is Gradle and the ecosystem have become incredibly complex so using these published apis is less likely to work, especially when other plugins abuse Gradle. It takes a lot of debugging to figure out what went wrong, whose is at fault, and who will actually fix it. Sometimes the Gradle team kindly steps in to sort it out.
I think we’d need to isolate the version it broke at to see the code change that caused this and why. Then try to find a fix compatible with the intent and your project.
FYI: the problem can be reproduced with any plugin v0.45 +, for v0.44 it behaved normally
yep, just isolated it to this change (https://github.com/ben-manes/gradle-versions-plugin/pull/721), kindly contributed by @jvandort from Gradle, Inc. The change looks very small and benign. We might need Justin's expertise, but I'll see if I can narrow it down further. I'm iterating by using publishToMavenLocal
for a snapshot version to use with your repository.
The incrementalScalaAnalysis
configurations set the usage and category capability attributes, which then causes their dependencies to not resolve against that variant. I tried the workarounds discussed in https://github.com/gradle/gradle/issues/6750 and https://github.com/gradle/gradle/issues/6854, but could not get it to work.
In your project this configuration does not need to be checked for dependency updates so skipping it worked. Without an expert to better explain the root cause, I think this is a pragmatic workaround.
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
import org.gradle.api.specs.Spec
tasks.named<DependencyUpdatesTask>("dependencyUpdates").configure {
filterConfigurations = Spec<Configuration> {
!it.name.startsWith("incrementalScalaAnalysis")
}
}
thanks a lot! Will try in 2 days. Happy thanksgiving!
Same happens for me in an android/kotlin project:
The following dependencies exceed the version found at the milestone revision level:
- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm [1.7.3 <- 1.5.0]
https://github.com/Kotlin/kotlinx.coroutines
Failed to determine the latest version for the following dependencies (use --info for details):
- androidx.activity:activity-compose
- androidx.compose.compiler:compiler
- androidx.compose.material:material-icons-extended
- androidx.compose.material3:material3
- androidx.compose.ui:ui-test-manifest
- androidx.compose.ui:ui-tooling
- androidx.compose.ui:ui-tooling-preview
- androidx.compose.ui:ui-util
- androidx.core:core-ktx
- androidx.datastore:datastore
- com.google.accompanist:accompanist-permissions
- com.google.protobuf:com.google.protobuf.gradle.plugin
- com.google.protobuf:protobuf-javalite
- com.google.protobuf:protoc
- com.pinterest:ktlint
- com.squareup.okhttp3:okhttp
- com.squareup.okio:okio
- com.valentinilk.shimmer:compose-shimmer
- io.gitlab.arturbosch.detekt:detekt-cli
- io.kotest:kotest-runner-junit5
- io.mockk:mockk
- org.cqfn.diktat:diktat-rules
- org.jetbrains.kotlinx:kotlinx-benchmark-runtime
- org.jetbrains.kotlinx:kotlinx-coroutines-android
- org.jetbrains.kotlinx.benchmark:org.jetbrains.kotlinx.benchmark.gradle.plugin
- org.json:json
- org.lighthousegames:logging-android
- org.openjdk.jmh:jmh-core
Gradle release-candidate updates:
- Gradle: [8.4: UP-TO-DATE]
Generated report file D:\dev\android\workspace\dcapps\build\dependencyUpdates\report.txt
478 problems were found storing the configuration cache, 9 of which seem unique.
- Plugin 'com.android.internal.application': execution of task ':dependencyUpdates' caused invocation of 'Task.convention' in other task at execution time which is unsupported.
See https://docs.gradle.org/8.4/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
- Plugin 'com.android.internal.application': execution of task ':dependencyUpdates' caused invocation of 'Task.project' in other task at execution time which is unsupported.
See https://docs.gradle.org/8.4/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
- Plugin 'com.android.internal.library': execution of task ':dependencyUpdates' caused invocation of 'Task.project' in other task at execution time which is unsupported.
See https://docs.gradle.org/8.4/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
- Plugin 'org.jetbrains.kotlin.jvm': execution of task ':dependencyUpdates' caused invocation of 'Task.project' in other task at execution time which is unsupported.
See https://docs.gradle.org/8.4/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
- Plugin class 'org.gradle.api.plugins.JavaBasePlugin': execution of task ':dependencyUpdates' caused invocation of 'Task.project' in other task at execution time which is unsupported.
See https://docs.gradle.org/8.4/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
- Task `:dependencyUpdates` of type `com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask`: cannot serialize a lambda that captures or accepts a parameter of type 'org.gradle.api.artifacts.Configuration' as these are not supported with the configuration cache.
See https://docs.gradle.org/8.4/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:dependencyUpdates` of type `com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask`: execution of task ':dependencyUpdates' caused invocation of 'Task.convention' in other task at execution time which is unsupported.
See https://docs.gradle.org/8.4/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
- Task `:dependencyUpdates` of type `com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask`: execution of task ':dependencyUpdates' caused invocation of 'Task.project' in other task at execution time which is unsupported.
See https://docs.gradle.org/8.4/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
- Task `:dependencyUpdates` of type `com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask`: invocation of 'Task.project' at execution time is unsupported.
See https://docs.gradle.org/8.4/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
I can not say when it started to occur, but it happened in 0.48.0 and remains in 0.49.0. It might be related to the shift from Gradle 8.3 to 8.4
@WebTiger89 This looks like https://github.com/gradle/gradle/issues/26672 because the Android plugin brings in an old version of xerces, which is incompatible with Gradle 8.4. You can use the workaround of adding the override in your gradle.properties
.
@ben-manes the circumvention works properly, has been integrated into https://github.com/tek/splain/pull/115
I'd suggest keeping it open until a more systematic solution has been found
This workaround doesn't help 🙁 https://github.com/ben-manes/gradle-versions-plugin/issues/816#issuecomment-1752209101
For now only work solution is modifying gradle.properties
https://github.com/gradle/gradle/issues/26672
UPD: For anyone who uses plugin in Android projects, everything should be fixed in AGP 8.3 https://issuetracker.google.com/issues/306301014
EDIT: my fault, I didn't read the previous comment with the mentioned AGP 8.3.*
It really helps. build-tools = "8.3.0-alpha17"
Hello, we use Android gradle + latest version of this plugin + Gradle 8.5 (should have workaround for xerces - https://github.com/gradle/gradle/issues/26672 is closed for Gradle milestone 8.4)... but it still happen:
Caused by: org.gradle.internal.UncheckedException: org.xml.sax.SAXNotRecognizedException: Property 'http://javax.xml.XMLConstants/property/accessExternalSchema' is not recognized.
at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:68)
at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:41)
at org.gradle.internal.ErroringAction.execute(ErroringAction.java:38)
at org.gradle.internal.resource.local.LocalFileStandInExternalResource.withContent(LocalFileStandInExternalResource.java:171)
at org.gradle.internal.resource.local.DefaultLocallyAvailableExternalResource.withContent(DefaultLocallyAvailableExternalResource.java:103)
at org.gradle.api.internal.artifacts.repositories.maven.MavenMetadataLoader.parseMavenMetadataInto(MavenMetadataLoader.java:74)
at org.gradle.api.internal.artifacts.repositories.maven.MavenMetadataLoader.parseMavenMetadataInfo(MavenMetadataLoader.java:69)
at org.gradle.api.internal.artifacts.repositories.maven.MavenMetadataLoader.load(MavenMetadataLoader.java:50)
... 187 more
Caused by: org.xml.sax.SAXNotRecognizedException: Property 'http://javax.xml.XMLConstants/property/accessExternalSchema' is not recognized.
at org.apache.xerces.parsers.AbstractSAXParser.getProperty(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.setProperty(Unknown Source)
at org.apache.ivy.util.XMLHelper.newSAXParser(XMLHelper.java:92)
at org.apache.ivy.util.XMLHelper.parse(XMLHelper.java:170)
at org.apache.ivy.util.XMLHelper.parse(XMLHelper.java:149)
at org.apache.ivy.util.XMLHelper.parse(XMLHelper.java:144)
at org.apache.ivy.util.XMLHelper.parse(XMLHelper.java:138)
at org.gradle.api.internal.artifacts.repositories.maven.MavenMetadataLoader$2.doExecute(MavenMetadataLoader.java:77)
at org.gradle.api.internal.artifacts.repositories.maven.MavenMetadataLoader$2.doExecute(MavenMetadataLoader.java:74)
at org.gradle.internal.ErroringAction.execute(ErroringAction.java:36)
... 192 more
for almost any dependency.
right, other plugins hit this issue. You can also add to your gradle.properties these flags.
systemProp.javax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
systemProp.javax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
systemProp.javax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
yep, just isolated it to this change (#721), kindly contributed by @jvandort from Gradle, Inc. The change looks very small and benign. We might need Justin's expertise, but I'll see if I can narrow it down further. I'm iterating by using
publishToMavenLocal
for a snapshot version to use with your repository.
Sorry for the delay here.
This is caused because the incrementalScalaAnalysisFor*
configurations are not meant to be resolved directly. In fact, we actually expect there to be failed dependencies here. Instead of being resolved directly, we use an artifactView
with lenient=true
here. This allows for dependencies to fail resolution without throwing an exception.
What I see as the root issue is that this plugin attempts to resolve all configurations, even those that are meant to be resolved leniently. However, a solution here seems difficult, since there is no "this configuration is resolved leniently" flag on a configuration. That flag is only present on the view of a configuration. I don't see how this plugin would know to skip resolving these configurations.
Can confirm this is fixed in AGP 8.3.0 released Feb 29th