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

[Feature Request]: Support of Gradle Configuration Cache #85

Open
Ynnck123 opened this issue May 17, 2022 · 0 comments
Open

[Feature Request]: Support of Gradle Configuration Cache #85

Ynnck123 opened this issue May 17, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Ynnck123
Copy link

Hi,

using the Gradle configuration feature by enabling it via flag org.gradle.unsafe.configuration-cache=true in the gradle.properties file, can drastically improve the build-time of our projects.

However, unfortunately this plugin doesn't seem to support it.

When I try to execute an appCenterUploadXXX task, a build error gets thrown:

* What went wrong:
Configuration cache state could not be cached: field 'loggerFactory' from type 'com.betomorrow.gradle.appcenter.tasks.UploadAppCenterApkTask': error writing value of type 'org.gradle.internal.logging.progress.DefaultProgressLoggerFactory'
> Configuration cache state could not be cached: field 'progressListener' from type 'org.gradle.internal.logging.progress.DefaultProgressLoggerFactory': error writing value of type 'org.gradle.internal.logging.services.ProgressLoggingBridge'
   > Configuration cache state could not be cached: field 'listener' from type 'org.gradle.internal.logging.services.ProgressLoggingBridge': error writing value of type 'org.gradle.internal.logging.sink.OutputEventListenerManager$1'
      > Configuration cache state could not be cached: field 'this$0' from type 'org.gradle.internal.logging.sink.OutputEventListenerManager$1': error writing value of type 'org.gradle.internal.logging.sink.OutputEventListenerManager'
         > Configuration cache state could not be cached: field 'renderer' from type 'org.gradle.internal.logging.sink.OutputEventListenerManager': error writing value of type 'org.gradle.internal.logging.sink.OutputEventRenderer'
            > Configuration cache state could not be cached: field 'formatters' from type 'org.gradle.internal.logging.sink.OutputEventRenderer': error writing value of type 'org.gradle.internal.event.ListenerBroadcast'
               > Configuration cache state could not be cached: field 'broadcast' from type 'org.gradle.internal.event.ListenerBroadcast': error writing value of type 'org.gradle.internal.event.BroadcastDispatch$CompositeDispatch'
                  > Configuration cache state could not be cached: field 'dispatchers' from type 'org.gradle.internal.event.BroadcastDispatch$CompositeDispatch': error writing value of type 'java.util.ArrayList'
                     > Configuration cache state could not be cached: field 'dispatch' from type 'org.gradle.internal.event.BroadcastDispatch$SingletonDispatch': error writing value of type 'org.gradle.internal.dispatch.ReflectionDispatch'
                        > Configuration cache state could not be cached: field 'target' from type 'org.gradle.internal.dispatch.ReflectionDispatch': error writing value of type 'org.gradle.launcher.daemon.server.exec.LogToClient$AsynchronousLogDispatcher$1'
                           > Configuration cache state could not be cached: field 'val$this$0' from type 'org.gradle.launcher.daemon.server.exec.LogToClient$AsynchronousLogDispatcher$1': error writing value of type 'org.gradle.launcher.daemon.server.exec.LogToClient'
                              > Configuration cache state could not be cached: field 'loggingOutput' from type 'org.gradle.launcher.daemon.server.exec.LogToClient': error writing value of type 'org.gradle.internal.logging.services.DefaultLoggingManager'
                                 > Configuration cache state could not be cached: field 'javaUtilLoggingSystem' from type 'org.gradle.internal.logging.services.DefaultLoggingManager': error writing value of type 'org.gradle.internal.logging.services.DefaultLoggingManager$StartableLoggingSystem'
                                    > Configuration cache state could not be cached: field 'loggingSystem' from type 'org.gradle.internal.logging.services.DefaultLoggingManager$StartableLoggingSystem': error writing value of type 'org.gradle.internal.logging.source.JavaUtilLoggingSystem'
                                       > Configuration cache state could not be cached: field 'logger' from type 'org.gradle.internal.logging.source.JavaUtilLoggingSystem': error writing value of type 'java.util.logging.LogManager$RootLogger'
                                          > Configuration cache state could not be cached: field 'this$0' from type 'java.util.logging.LogManager$RootLogger': error writing value of type 'java.util.logging.LogManager'
                                             > Configuration cache state could not be cached: field 'loggerRefQueue' from type 'java.util.logging.LogManager': error writing value of type 'java.lang.ref.ReferenceQueue'
                                                > Configuration cache state could not be cached: field 'head' from type 'java.lang.ref.ReferenceQueue': error writing value of type 'java.util.logging.LogManager$LoggerWeakRef'
                                                   > Configuration cache state could not be cached: field 'next' from type 'java.util.logging.LogManager$LoggerWeakRef': error writing value of type 'java.util.logging.LogManager$LoggerWeakRef'
                                                      > Configuration cache state could not be cached: field 'node' from type 'java.util.logging.LogManager$LoggerWeakRef': error writing value of type 'java.util.logging.LogManager$LogNode'
                                                         > Configuration cache state could not be cached: field 'context' from type 'java.util.logging.LogManager$LogNode': error writing value of type 'java.util.logging.LogManager$LoggerContext'
                                                            > Configuration cache state could not be cached: field 'namedLoggers' from type 'java.util.logging.LogManager$LoggerContext': error writing value of type 'java.util.concurrent.ConcurrentHashMap'
                                                               > Configuration cache state could not be cached: field 'node' from type 'java.util.logging.LogManager$LoggerWeakRef': error writing value of type 'java.util.logging.LogManager$LogNode'
                                                                  > Configuration cache state could not be cached: field 'children' from type 'java.util.logging.LogManager$LogNode': error writing value of type 'java.util.HashMap'
                                                                     > Configuration cache state could not be cached: field 'children' from type 'java.util.logging.LogManager$LogNode': error writing value of type 'java.util.HashMap'
                                                                        > Configuration cache state could not be cached: field 'children' from type 'java.util.logging.LogManager$LogNode': error writing value of type 'java.util.HashMap'
                                                                           > Configuration cache state could not be cached: field 'loggerRef' from type 'java.util.logging.LogManager$LogNode': error writing value of type 'java.util.logging.LogManager$LoggerWeakRef'
                                                                              > Configuration cache state could not be cached: field 'referent' from type 'java.util.logging.LogManager$LoggerWeakRef': error writing value of type 'java.util.logging.Logger'
                                                                                 > Configuration cache state could not be cached: field 'callerModuleRef' from type 'java.util.logging.Logger': error writing value of type 'java.lang.ref.WeakReference'
                                                                                    > Configuration cache state could not be cached: field 'referent' from type 'java.lang.ref.WeakReference': error writing value of type 'java.lang.Module'
                                                                                       > Configuration cache state could not be cached: field 'descriptor' from type 'java.lang.Module': error writing value of type 'java.lang.module.ModuleDescriptor'
                                                                                          > Unable to make field private final boolean java.lang.module.ModuleDescriptor.automatic accessible: module java.base does not "opens java.lang.module" to unnamed module @7758de38
@oliviergauthier oliviergauthier added the enhancement New feature or request label Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants