Rename params show/dumpProcessorTimings to show/dumpProcessorStats
^KT-51132 Fixed
This commit is contained in:
+3
-3
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -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()))
|
||||
|
||||
+1
-1
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user