andylamax
10/23/2022, 7:56 AMandylamax
10/23/2022, 7:56 AM10 problems were found storing the configuration cache, 3 of which seem unique.
- Task `:commonizeNativeDistribution` of type `org.jetbrains.kotlin.gradle.targets.native.internal.NativeDistributionCommonizerTask`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
See <https://docs.gradle.org/7.5.1/userguide/configuration_cache.html#config_cache:requirements:disallowed_types>
- Task `:commonizeNativeDistribution` of type `org.jetbrains.kotlin.gradle.targets.native.internal.NativeDistributionCommonizerTask`: invocation of 'Task.project' at execution time is unsupported.
See <https://docs.gradle.org/7.5.1/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution>
- Task `:koncurrent-later-core:linuxX64Test` of type `org.jetbrains.kotlin.gradle.targets.native.tasks.KotlinNativeHostTest`: invocation of 'Task.project' at execution time is unsupported.
See <https://docs.gradle.org/7.5.1/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution>
Chris Lee
10/23/2022, 8:39 AMandylamax
10/23/2022, 10:40 AMchristophsturm
10/23/2022, 1:02 PMephemient
10/23/2022, 6:45 PMephemient
10/23/2022, 6:46 PMandylamax
10/23/2022, 8:37 PM:commonizeNativeDistribution
), it does fail. gradle doesn't even just invalidate the cache. The builds end with a 'BUILD FAILED'andylamax
10/23/2022, 8:38 PMephemient
10/23/2022, 8:39 PMnotCompatibleWithConfigurationCache
then it should not fail. if the tasks are not marked then it is expected that the build will fail.andylamax
10/23/2022, 8:40 PMnotCompatibleWithConfigurationCache
Chris Lee
10/23/2022, 9:05 PMandylamax
10/23/2022, 9:08 PMChris Lee
10/23/2022, 9:16 PMandylamax
10/23/2022, 9:18 PMephemient
10/23/2022, 9:19 PMephemient
10/23/2022, 9:19 PMephemient
10/23/2022, 9:20 PMandylamax
10/23/2022, 9:30 PMephemient
10/23/2022, 9:33 PMtasks.withType<NativeDistributionCommonizerTask>().configureEach {
notCompatibleWithConfigurationCache("<https://youtrack.jetbrains.com/issue/KT-49933>")
}
or whatever they areandylamax
10/23/2022, 9:36 PMmbonnin
10/24/2022, 8:59 AMmbonnin
10/24/2022, 8:59 AMephemient
10/24/2022, 3:36 PMmbonnin
10/24/2022, 3:37 PMandylamax
10/24/2022, 7:45 PM