Skip to content

gradle release task failing  #1115

@marcyrasta

Description

@marcyrasta

Hello

I have written a comment on the issue gradle/gradle#10699 that seems to be back on the release task of Gradle 7.5.1 even after upgrading to the latest version

A problem occurred configuring root project 'xxx'.
> Exception thrown while executing model rule: ComponentModelBasePlugin.PluginRules#createSourceTransformTasks(TaskContainer, ModelMap<BinarySpecInternal>, LanguageTransformContainer, ServiceRegistry)
   > Could not create task ':compileMainExecutableMainCpp'.
      > Could not create task of type 'CppCompile'.
         > Could not create service of type DefaultCompilationStateCacheFactory.
            > Cache 'nativeCompile' couldn't be reused because of the following mismatch:
               * Requested value serializer type (org.gradle.language.nativeplatform.internal.incremental.CompilationStateSerializer) doesn't match current cache type (org.gradle.language.nativeplatform.internal.incremental.CompilationStateSerializer)
           * 

Could you please provide guidance ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions