KtGramExt

abstract class KtGramExt @Inject constructor(factory: ObjectFactory)(source)

Extension for KtGramPlugin that can be used to configure the KtGram DSL.

Constructors

Link copied to clipboard
@Inject
constructor(factory: ObjectFactory)

Properties

Link copied to clipboard
val addSnapshotRepo: Property<Boolean?>?

set to true to add the snapshot repository to the repositories list.

Link copied to clipboard
val autoAnswerCallback: Property<Boolean?>?

set to true to automatically respond to callbacks unless otherwise specified in the annotation.

Link copied to clipboard
val forceVersion: Property<String?>?

set to a version string to force library specific version.

Link copied to clipboard

set to false to disable the logging provider handling.

Link copied to clipboard
val ktorJvmEngine: Property<KtorJvmEngine?>?

the Ktor JVM engine to use, defaults to KtorJvmEngine.JAVA.

Link copied to clipboard
val packages: ListProperty<String?>?

list of packages to scan for KtGram annotations.