Add option to disable AP discovery in compile classpath

#KT-24530 Fixed

To disable discovery and enable avoidance for kapt tasks,
use "kapt.includeCompileClasspath = false"
This commit is contained in:
Alexey Tsvetkov
2018-12-07 14:42:25 +03:00
parent 445c85f829
commit d6459e6c49
16 changed files with 197 additions and 6 deletions
@@ -149,6 +149,11 @@ enum class KaptCliOption(
),
DETECT_MEMORY_LEAKS_OPTION("detectMemoryLeaks", "true | false", "Detect memory leaks in annotation processors"),
INCLUDE_COMPILE_CLASSPATH(
"includeCompileClasspath",
"true | false",
"Discover annotation processors in compile classpath"
),
INFO_AS_WARNINGS_OPTION("infoAsWarnings", "true | false", "Show information messages as warnings"),