提交 093c8bfb 编写于 作者: I Ivan Gavrilovic 提交者: nataliya.valtman

Register KAPT incremental apt cache as local state

This is so that incremental caches are removed on
non-incremental task run.
上级 75e4c742
......@@ -30,7 +30,7 @@ abstract class KaptTask : ConventionTask(), TaskWithLocalState {
outputs.cacheIf(reason) { useBuildCache }
}
override fun localStateDirectories(): FileCollection = objects.fileCollection()
override fun localStateDirectories(): FileCollection = objects.fileCollection().from(incAptCache)
@get:Internal
@field:Transient
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册