howardpang / androidNativeBundle

a gradle plugin that support publish c/c++ headers to 'aar' and depend those 'aar'

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support configuration cache feature

marandaneto opened this issue · comments

https://docs.gradle.org/current/userguide/configuration_cache.html

AGP 7.0.1
Gradle 7.2

Configuration cache state could not be cached: field 'closure' from type 'org.gradle.api.internal.AbstractTask$ClosureTaskAction': error writing value of type 'com.yy.android.gradle.nativedepend.NativeBundleImportPlugin$_apply_closure3'
Configuration cache state could not be cached: field 'variants' from type 'com.yy.android.gradle.nativedepend.NativeBundleImportPlugin$_apply_closure3': error writing value of type 'groovy.lang.Reference'

Thanks, i will take some time to support gradle 7.2

Configuration cache is not easy to support, it will take more time , i suggest you to close the cache temporary

no worries, we're not in a hurry.

This feature is currently highly experimental and not enabled by default.