gradle-cache

Gradle build cache is not enabled for task

浪尽此生 提交于 2019-12-20 02:56:43
问题 I have enabled gradle build cache for my project. But, we are using some non-built in tasks like npm-install from third party plugins. Gradle is not enabling cache for these tasks. For example it shows something like below when such task is executed : Task :data-export-ui-kjs:npm-configure Build cache key for task ':data-export-ui-kjs:npm-configure' is bbe0dafcd467a2afb2834acafe2993f5 Caching disabled for task ':data-export-ui-kjs:npm-configure': Caching has not been enabled for the task Is

Gradle build cache is not enabled for task

拟墨画扇 提交于 2019-12-01 23:45:53
I have enabled gradle build cache for my project. But, we are using some non-built in tasks like npm-install from third party plugins. Gradle is not enabling cache for these tasks. For example it shows something like below when such task is executed : Task :data-export-ui-kjs:npm-configure Build cache key for task ':data-export-ui-kjs:npm-configure' is bbe0dafcd467a2afb2834acafe2993f5 Caching disabled for task ':data-export-ui-kjs:npm-configure': Caching has not been enabled for the task Is there a way to enable build cache for such non-builtin tasks? A task needs to opt-in to being cacheable