howardpang / androidNativeBundle

a gradle plugin that support publish c/c++ headers to 'aar' and depend those 'aar'
Apache License 2.0
71 stars 14 forks source link

Support configuration cache feature #13

Open marandaneto opened 3 years ago

marandaneto commented 3 years ago

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'

howardpang commented 3 years ago

Thanks, i will take some time to support gradle 7.2

howardpang commented 3 years ago

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

marandaneto commented 3 years ago

no worries, we're not in a hurry.

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