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:
committed by
Yan Zhulanow
parent
251d8ccd97
commit
5cab6fd6cf
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user