Kapt: Allow to strip @Metadata annotation from stubs (KT-36667)

This commit is contained in:
Yan Zhulanow
2020-02-13 17:12:47 +09:00
parent da16b8e527
commit 62affd8e0d
11 changed files with 109 additions and 0 deletions
@@ -188,6 +188,13 @@ enum class KaptCliOption(
cliToolOption = CliToolOption("-Kapt-strict", FLAG)
),
STRIP_METADATA_OPTION(
"stripMetadata",
"true | false",
"Strip @Metadata annotations from stubs",
cliToolOption = CliToolOption("-Kapt-strip-metadata", FLAG)
),
DETECT_MEMORY_LEAKS_OPTION("detectMemoryLeaks", "true | false", "Detect memory leaks in annotation processors"),
INCLUDE_COMPILE_CLASSPATH(
"includeCompileClasspath",