Build Analyzer检测配置缓存不生效
- Dominant language
- Kotlin
- Stars
- 5.1k
- Forks
- 591
- PR merge metrics
- No merged PRs in 30d
Description
Please provide the following informations.
- System version
mac os 11.7.1 (20G918)
- Java version
11
- Gradle version
7.5
- Android Gradle plugin version
7.4.2
- Booster version
4.16.3
- Stack traces
配置:
org.gradle.configuration-cache=true
org.gradle.configuration-cache.problems=warn
FAILURE: Build failed with an exception.
* What went wrong:
Configuration cache state could not be cached: field 'transform' from type 'com.android.build.gradle.internal.pipeline.IncrementalTransformTask': error writing value of type 'com.didiglobal.booster.gradle.internal.BoosterTransformV34'
> Configuration cache state could not be cached: field 'parameter' from type 'com.didiglobal.booster.gradle.internal.BoosterTransformV34': error writing value of type 'com.didiglobal.booster.gradle.TransformParameter'
> Configuration cache state could not be cached: field 'buildscript' from type 'com.didiglobal.booster.gradle.TransformParameter': error writing value of type 'org.gradle.api.internal.initialization.DefaultScriptHandler'
> Configuration cache state could not be cached: field 'dependencyResolutionServices' from type 'org.gradle.api.internal.initialization.DefaultScriptHandler': error writing value of type 'org.gradle.api.internal.artifacts.DefaultDependencyManagementServices$DefaultDependencyResolutionServices'
> Configuration cache state could not be cached: field 'services' from type 'org.gradle.api.internal.artifacts.DefaultDependencyManagementServices$DefaultDependencyResolutionServices': error writing value of type 'org.gradle.internal.service.DefaultServiceRegistry'
> Configuration cache state could not be cached: field 'allServices' from type 'org.gradle.internal.service.DefaultServiceRegistry': error writing value of type 'org.gradle.internal.service.DefaultServiceRegistry$CompositeServiceProvider'
> Configuration cache state could not be cached: field 'serviceProviders' from type 'org.gradle.internal.service.DefaultServiceRegistry$CompositeServiceProvider': error writing value of type '[Lorg.gradle.internal.service.ServiceProvider;'
> Configuration cache state could not be cached: field 'providersByType' from type 'org.gradle.internal.service.DefaultServiceRegistry$OwnServices': error writing value of type 'java.util.HashMap'
> Configuration cache state could not be cached: field 'dependents' from type 'org.gradle.internal.service.DefaultServiceRegistry$FixedInstanceService': error writing value of type 'java.util.concurrent.ConcurrentLinkedQueue'
> Configuration cache state could not be cached: field 'constructor' from type 'org.gradle.internal.service.DefaultServiceRegistry$ConstructorService': error writing value of type 'java.lang.reflect.Constructor'
> Configuration cache state could not be cached: field 'constructorAccessor' from type 'java.lang.reflect.Constructor': error writing value of type 'jdk.internal.reflect.DelegatingConstructorAccessorImpl'
> Unable to make field private jdk.internal.reflect.ConstructorAccessorImpl jdk.internal.reflect.DelegatingConstructorAccessorImpl.delegate accessible: module java.base does not "opens jdk.internal.reflect" to unnamed module @26de4267
* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
=====================
为了配置缓存,使用Build Analyzer中的检测工具,发现上述问题
想问下这个会适配吗?
Contributor guide
Assessment
This issue has not been assessed yet.