# SingleMessageLogger

open class SingleMessageLogger : DeprecationLogger

### Deprecated

This class is only here to maintain binary compatibility with existing plugins.

#### Deprecated

Will be removed in Gradle 9.0.

## Constructors

SingleMessageLogger
Link copied to clipboard
constructor()

## Functions

deprecate
Link copied to clipboard
open fun deprecate(feature: String): DeprecationMessageBuilder<out Any>
deprecateAction
Link copied to clipboard
open fun deprecateAction(action: String): DeprecationMessageBuilder.DeprecateAction
deprecateBehaviour
Link copied to clipboard
open fun deprecateBehaviour(behaviour: String): DeprecationMessageBuilder.DeprecateBehaviour
deprecateBuildInvocationFeature
Link copied to clipboard
open fun deprecateBuildInvocationFeature(feature: String): DeprecationMessageBuilder<out Any>
deprecateConfiguration
Link copied to clipboard
open fun deprecateConfiguration(configurationType: String): DeprecationMessageBuilder.ConfigurationDeprecationTypeSelector
deprecateIndirectUsage
Link copied to clipboard
open fun deprecateIndirectUsage(feature: String): DeprecationMessageBuilder<out Any>
deprecateInternalApi
Link copied to clipboard
open fun deprecateInternalApi(api: String): DeprecationMessageBuilder.DeprecateInternalApi
deprecateInvocation
Link copied to clipboard
open fun deprecateInvocation(methodWithParams: String): DeprecationMessageBuilder.DeprecateInvocation
deprecateMethod
Link copied to clipboard
open fun deprecateMethod(methodClass: Class<out Any>, methodWithParams: String): DeprecationMessageBuilder.DeprecateMethod
deprecateNamedParameter
Link copied to clipboard
open fun deprecateNamedParameter(parameter: String): DeprecationMessageBuilder.DeprecateNamedParameter
deprecatePlugin
Link copied to clipboard
open fun deprecatePlugin(plugin: String): DeprecationMessageBuilder.DeprecatePlugin
deprecateProperty
Link copied to clipboard
open fun deprecateProperty(propertyClass: Class<out Any>, property: String): DeprecationMessageBuilder.DeprecateProperty
deprecateSystemProperty
Link copied to clipboard
open fun deprecateSystemProperty(systemProperty: String): DeprecationMessageBuilder.DeprecateSystemProperty
deprecateTask
Link copied to clipboard
open fun deprecateTask(task: String): DeprecationMessageBuilder.DeprecateTask
deprecateTaskType
Link copied to clipboard
open fun deprecateTaskType(task: Class<out Any>, path: String): DeprecationMessageBuilder.DeprecateTaskType
deprecateType
Link copied to clipboard
open fun deprecateType(type: Class<out Any>): DeprecationMessageBuilder.DeprecateType
getDeprecationFailure
Link copied to clipboard
open fun getDeprecationFailure(): Throwable
init
Link copied to clipboard
open fun init(warningMode: WarningMode, buildOperationProgressEventEmitter: BuildOperationProgressEventEmitter, problemsService: Problems, problemStream: ProblemStream)
reportSuppressedDeprecations
Link copied to clipboard
open fun reportSuppressedDeprecations()
reset
Link copied to clipboard
open fun reset()
warnOfChangedBehaviour
Link copied to clipboard
open fun warnOfChangedBehaviour(behaviour: String, advice: String): DeprecationMessageBuilder.WithDeprecationTimeline
whileDisabled
Link copied to clipboard
open fun whileDisabled(action: Runnable)
open fun <T> whileDisabled(factory: Factory<T>): T
whileDisabledThrowing
Link copied to clipboard
open fun <T, E : Exception?> whileDisabledThrowing(factory: DeprecationLogger.ThrowingFactory<T, E>): T
open fun <E : Exception?> whileDisabledThrowing(runnable: DeprecationLogger.ThrowingRunnable<E>)