Rename params show/dumpProcessorTimings to show/dumpProcessorStats

^KT-51132 Fixed
This commit is contained in:
Udi Cohen
2022-02-02 15:07:02 -05:00
committed by teamcity
parent eb3b9f148d
commit c9d2f40b95
7 changed files with 31 additions and 27 deletions
@@ -46,9 +46,9 @@ interface KaptExtensionConfig {
var stripMetadata: Boolean
/**
* If `true`, show annotation processor timings.
* If `true`, show annotation processor stats.
*/
var showProcessorTimings: Boolean
var showProcessorStats: Boolean
/**
* If `true`, detect memory leaks in annotation processors.
@@ -118,4 +118,4 @@ interface KaptJavacOption {
* Adds an option with name only (no value associated).
*/
fun option(name: Any)
}
}
@@ -491,7 +491,7 @@ class Kapt3GradleSubplugin @Inject internal constructor(private val registry: To
)
pluginOptions += SubpluginOption("stripMetadata", "${kaptExtension.stripMetadata}")
pluginOptions += SubpluginOption("keepKdocCommentsInStubs", "${project.isKaptKeepKdocCommentsInStubs()}")
pluginOptions += SubpluginOption("showProcessorTimings", "${kaptExtension.showProcessorTimings}")
pluginOptions += SubpluginOption("showProcessorStats", "${kaptExtension.showProcessorStats}")
pluginOptions += SubpluginOption("detectMemoryLeaks", kaptExtension.detectMemoryLeaks)
pluginOptions += SubpluginOption("infoAsWarnings", "${project.isInfoAsWarnings()}")
pluginOptions += FilesSubpluginOption("stubs", listOf(getKaptStubsDir()))
@@ -40,7 +40,7 @@ open class KaptExtension: KaptExtensionConfig {
override var stripMetadata: Boolean = false
override var showProcessorTimings: Boolean = false
override var showProcessorStats: Boolean = false
override var detectMemoryLeaks: String = "default"