Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable configuration-cache #1159

Merged
merged 1 commit into from Feb 23, 2022
Merged

Enable configuration-cache #1159

merged 1 commit into from Feb 23, 2022

Conversation

@colinrtwhite colinrtwhite merged commit 4a86574 into coil-kt:main Feb 23, 2022
@Goooler Goooler deleted the cc branch February 23, 2022 06:07
@Goooler
Copy link
Contributor Author

Goooler commented Feb 23, 2022

374 problems were found storing the configuration cache, 103 of which seem unique.
- Task `:coil-base:dokkaHtml` of type `org.jetbrains.dokka.gradle.DokkaTask`: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultConfiguration', a subtype of 'org.gradle.api.artifacts.Configuration', as these are not supported with the configuration cache.
  See https://docs.gradle.org/7.4/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:coil-base:publishMavenPublicationToMavenCentralRepository` of type `org.gradle.api.publish.maven.tasks.PublishToMavenRepository`: cannot serialize object of type 'org.gradle.api.internal.artifacts.repositories.DefaultMavenArtifactRepository', a subtype of 'org.gradle.api.artifacts.repositories.ArtifactRepository', as these are not supported with the configuration cache.
  See https://docs.gradle.org/7.4/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:coil-base:signMavenPublication` of type `org.gradle.plugins.signing.Sign`: cannot serialize object of type 'com.android.build.gradle.tasks.BundleAar', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/7.4/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:coil-base:signMavenPublication` of type `org.gradle.plugins.signing.Sign`: cannot serialize object of type 'com.vanniktech.maven.publish.tasks.JavadocJar', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/7.4/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:coil-base:signMavenPublication` of type `org.gradle.plugins.signing.Sign`: cannot serialize object of type 'com.vanniktech.maven.publish.tasks.SourcesJar', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/7.4/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:coil-base:signMavenPublication` of type `org.gradle.plugins.signing.Sign`: cannot serialize object of type 'org.gradle.api.internal.artifacts.configurations.DefaultConfiguration', a subtype of 'org.gradle.api.artifacts.Configuration', as these are not supported with the configuration cache.
  See https://docs.gradle.org/7.4/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:coil-base:signMavenPublication` of type `org.gradle.plugins.signing.Sign`: 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.4/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:coil-base:signMavenPublication` of type `org.gradle.plugins.signing.Sign`: cannot serialize object of type 'org.gradle.api.internal.tasks.DefaultTaskDependency', a subtype of 'org.gradle.api.tasks.TaskDependency', as these are not supported with the configuration cache.
  See https://docs.gradle.org/7.4/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:coil-base:signMavenPublication` of type `org.gradle.plugins.signing.Sign`: cannot serialize object of type 'org.gradle.api.publish.maven.internal.artifact.AbstractMavenArtifact$CompositeTaskDependency', a subtype of 'org.gradle.api.tasks.TaskDependency', as these are not supported with the configuration cache.
  See https://docs.gradle.org/7.4/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
> Task :coil-video:publishMavenPublicationToMavenCentralRepository
- Task `:coil-base:signMavenPublication` of type `org.gradle.plugins.signing.Sign`: cannot serialize object of type 'org.gradle.api.publish.maven.internal.artifact.SingleOutputTaskMavenArtifact$GeneratorTaskDependency', a subtype of 'org.gradle.api.tasks.TaskDependency', as these are not supported with the configuration cache.
  See https://docs.gradle.org/7.4/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:coil-base:signMavenPublication` of type `org.gradle.plugins.signing.Sign`: cannot serialize object of type 'org.gradle.api.publish.maven.internal.publication.DefaultMavenPublication', a subtype of 'org.gradle.api.publish.Publication', as these are not supported with the configuration cache.
  See https://docs.gradle.org/7.4/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:coil-base:signMavenPublication` of type `org.gradle.plugins.signing.Sign`: cannot serialize object of type 'org.gradle.api.publish.maven.tasks.GenerateMavenPom', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/7.4/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:coil-base:signMavenPublication` of type `org.gradle.plugins.signing.Sign`: cannot serialize object of type 'org.gradle.api.publish.tasks.GenerateModuleMetadata', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/7.4/userguide/configuration_cache.html#config_cache:requirements:task_access
- Task `:coil-bom:publishMavenPublicationToMavenCentralRepository` of type `org.gradle.api.publish.maven.tasks.PublishToMavenRepository`: cannot serialize object of type 'org.gradle.api.internal.artifacts.repositories.DefaultMavenArtifactRepository', a subtype of 'org.gradle.api.artifacts.repositories.ArtifactRepository', as these are not supported with the configuration cache.
  See https://docs.gradle.org/7.4/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:coil-bom:signMavenPublication` of type `org.gradle.plugins.signing.Sign`: cannot serialize object of type 'com.android.build.gradle.tasks.BundleAar', a subtype of 'org.gradle.api.Task', as these are not supported with the configuration cache.
  See https://docs.gradle.org/7.4/userguide/configuration_cache.html#config_cache:requirements:task_access
plus 88 more problems. Please see the report for details.

@Goooler
Copy link
Contributor Author

Goooler commented Feb 23, 2022

@colinrtwhite Seems this commit needs to be reverted, blocked by vanniktech/gradle-maven-publish-plugin/issues/259 & Kotlin/dokka/issues/1217

@Goooler
Copy link
Contributor Author

Goooler commented Feb 23, 2022

Or add this:

    tasks.matching {
        it.name.contains("dokkaHtml") || it.name.contains("signMavenPublication")
    }.configureEach {
        notCompatibleWithConfigurationCache("https://github.com/Kotlin/dokka/issues/1217")
        notCompatibleWithConfigurationCache("https://github.com/vanniktech/gradle-maven-publish-plugin/issues/259")
    }

colinrtwhite added a commit that referenced this pull request Feb 23, 2022
colinrtwhite pushed a commit that referenced this pull request Oct 5, 2022
colinrtwhite added a commit that referenced this pull request Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants