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

set to false to prevent the KSP processor from cleaning the class data automatically.

Link copied to clipboard
val forceVersion: Property<String>

set to a version string to force library specific version.

Link copied to clipboard

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.