gradle / gradle-native

The home of Gradle's support for natively compiled languages
https://blog.gradle.org/introducing-the-new-cpp-plugins
Apache License 2.0
93 stars 8 forks source link

gradle release task failing #1115

Open marcyrasta opened 2 months ago

marcyrasta commented 2 months ago

Hello

I have written a comment on the issue https://github.com/gradle/gradle/issues/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 ?