KAPT: Mark incremental cache as LocalState

Use @LocalState to mark incremental annotation processing cache directory.
This is to make sure this is not stored in the build cache as it contains
absolute paths and cannot be shared between machines.
This commit is contained in:
Ivan Gavrilovic
2019-06-21 02:08:57 +09:00
committed by Yan Zhulanow
parent 251d8ccd97
commit 5cab6fd6cf
@@ -58,7 +58,7 @@ abstract class KaptTask : ConventionTask(), TaskWithLocalState {
internal var classpathStructure: FileCollection? = null
/** Output directory that contains caches necessary to support incremental annotation processing. */
@get:OutputDirectory
@get:LocalState
@get:Optional
var incAptCache: File? = null